AdvInstallFileW(3w)

AdvInstallFileW3w

Usage

HRESULT AdvInstallFileW
(
HWND hwnd,
LPCWSTR lpszSourceDir,
LPCWSTR lpszSourceFile,
LPCWSTR lpszDestDir,
LPCWSTR lpszDestFile,
DWORD dwFlags,
DWORD dwReserved
)

Overview

Copies a file from the source to a destination.

Params

hwnd [In] Handle to the window used for messages.

lpszSourceDir [In] Source directory.

lpszSourceFile [In] Source filename.

lpszDestDir [In] Destination directory.

lpszDestFile [In] Optional destination filename.

dwFlags [In] See advpub.h.

dwReserved [In] Reserved. Must be 0.

Returns

Success: S_OK.

Failure: E_FAIL.

Notes

If lpszDestFile is NULL, the destination filename is the same as lpszSourceFIle.

Implementation

Declared in "advpub.h".

Implemented in "dlls/advpack/files.c".

Debug channel "advpack".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.