.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH AdvInstallFileW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBAdvInstallFileW\fR (ADVPACK.@) .SH SYNOPSIS HRESULT AdvInstallFileW ( HWND \fIhwnd\fR, LPCWSTR \fIlpszSourceDir\fR, LPCWSTR \fIlpszSourceFile\fR, LPCWSTR \fIlpszDestDir\fR, LPCWSTR \fIlpszDestFile\fR, DWORD \fIdwFlags\fR, DWORD \fIdwReserved\fR ) .SH DESCRIPTION .PP Copies a file from the source to a destination. .SH PARAMS \fIhwnd\fR \fB[In]\fR Handle to the window used for messages. .PP \fIlpszSourceDir\fR \fB[In]\fR Source directory. .PP \fIlpszSourceFile\fR \fB[In]\fR Source filename. .PP \fIlpszDestDir\fR \fB[In]\fR Destination directory. .PP \fIlpszDestFile\fR \fB[In]\fR Optional destination filename. .PP \fIdwFlags\fR \fB[In]\fR See advpub.h. .PP \fIdwReserved\fR \fB[In]\fR Reserved. Must be \fB0.\fR .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. .PP \fBFailure:\fR \fBE_FAIL\fR. .SH NOTES .PP If \fIlpszDestFile\fR is \fBNULL\fR, the destination filename is the same as lpszSourceFIle. .SH IMPLEMENTATION .PP Declared in \fB"advpub.h"\fR. .PP Implemented in \fB"dlls/advpack/files.c"\fR. .PP Debug channel \fB"advpack"\fR.