Has any one used the following windows API
_In_ LPCTSTR pszServer,
_In_ LPCTSTR pszInfPath,
_In_ LPCTSTR pszEnvironment,
_In_ DWORD dwFlags,
_In_ HWND hwnd,
_Out_ LPTSTR pszDestInfPath,
_Inout_ PULONG pcchDestInfPath
I want to know what is the 5th parameter to the API?The documentation says -
hwnd [in] - A handle to the copying user interface.
which simply does not make much sense.
I have had no success to make this API work and keep getting E_INVALIDARGS return value. Since other parameters are fairly straight forward , my assumption is something is wrong about the 5th parameter.
I can make a guess that it might be the handle to the windows which is supposed to show the progress of the upload operation, though I would be happy to use the silent flag. Nonetheless, I tried using NULL as well as a dialog handle (created using CreateDialog) into this API, both in vain.
Any help will be deeply appreciated.