table of contents
other versions
- wheezy 1.4.1-4
RunSetupCommandW(3w) | Wine API | RunSetupCommandW(3w) |
NAME¶
RunSetupCommandW (ADVPACK.@)SYNOPSIS¶
HRESULT RunSetupCommandW(
HWND hWnd,
LPCWSTR szCmdName,
LPCWSTR szInfSection,
LPCWSTR szDir,
LPCWSTR lpszTitle,
HANDLE* phEXE,
DWORD dwFlags,
LPVOID pvReserved
)
DESCRIPTION¶
Executes an install section in an INF file or a program.PARAMS¶
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.RETURNS¶
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(tm) version E_UNEXPECTED Unexpected error HRESULT_FROM_Win32(GetLastError()) Some other errorIMPLEMENTATION¶
Declared in "advpub.h". Implemented in "dlls/advpack/install.c". Debug channel "advpack".Oct 2012 | Wine API |