RunSetupCommandW (ADVPACK.@)
HRESULT RunSetupCommandW ( HWND hWnd, LPCWSTR szCmdName, LPCWSTR szInfSection, LPCWSTR szDir, LPCWSTR lpszTitle, HANDLE* phEXE, DWORD dwFlags, LPVOID pvReserved )
Executes an install section in an INF file or a program.
hWnd | [In] | Handle to parent window, NULL for quiet mode. |
szCmdName | [In] | Inf or EXE filename to execute. |
szInfSection | [In] | Inf section to install, NULL for DefaultInstall. |
szDir | [In] | Path to extracted files. |
szTitle | [In] | Title of all dialogs. |
phEXE | [Out] | Handle of EXE to wait for. |
dwFlags | [In] | Flags; see include/advpub.h. |
pvReserved | [In] | Reserved. |
S_OK Everything OK S_ASYNCHRONOUS OK, required to wait on phEXE ERROR_SUCCESS_REBOOT_REQUIRED Reboot required E_INVALIDARG Invalid argument given HRESULT_FROM_Win32(ERROR_OLD_WIN_VERSION) Not supported on this Windows® version E_UNEXPECTED Unexpected error HRESULT_FROM_Win32(GetLastError) Some other error
Declared in "include/advpub.h". gitlab.winehq.org/wine/wine/blob/master/include/advpub.h
Implemented in "dlls/advpack/install.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advpack/install.c
Debug channel "advpack".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.