18#ifndef __WINE_ADVPUB_H
19#define __WINE_ADVPUB_H
29#define S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x401E8L)
115#define AADBE_ADD_ENTRY 0x01
116#define AADBE_DEL_ENTRY 0x02
119#define AIF_WARNIFSKIP 0x00000001
120#define AIF_NOSKIP 0x00000002
121#define AIF_NOVERSIONCHECK 0x00000004
122#define AIF_FORCE_FILE_IN_USE 0x00000008
123#define AIF_NOOVERWRITE 0x00000010
124#define AIF_NO_VERSION_DIALOG 0x00000020
125#define AIF_REPLACEONLY 0x00000400
126#define AIF_NOLANGUAGECHECK 0x10000000
127#define AIF_QUIET 0x20000000
130#define RSC_FLAG_INF 0x00000001
131#define RSC_FLAG_SKIPDISKSPACECHECK 0x00000002
132#define RSC_FLAG_QUIET 0x00000004
133#define RSC_FLAG_NGCONV 0x00000008
134#define RSC_FLAG_UPDHLPDLLS 0x00000010
135#define RSC_FLAG_DELAYREGISTEROCX 0x00000200
136#define RSC_FLAG_SETUPAPI 0x00000400
139#define LIS_QUIET 0x00000001
140#define LIS_NOGRPCONV 0x00000002
143#define ADN_DEL_IF_EMPTY 0x00000001
144#define ADN_DONT_DEL_SUBDIRS 0x00000002
145#define ADN_DONT_DEL_DIR 0x00000004
146#define ADN_DEL_UNC_PATHS 0x00000008
149#define IE4_RESTORE 0x00000001
150#define IE4_BACKNEW 0x00000002
151#define IE4_NODELETENEW 0x00000004
152#define IE4_NOMESSAGES 0x00000008
153#define IE4_NOPROGRESS 0x00000010
154#define IE4_NOENUMKEY 0x00000020
155#define IE4_NO_CRC_MAPPING 0x00000040
156#define IE4_REGSECTION 0x00000080
157#define IE4_FRDOALL 0x00000100
158#define IE4_UPDREFCNT 0x00000200
159#define IE4_USEREFCNT 0x00000400
160#define IE4_EXTRAINCREFCNT 0x00000800
163#define AFSR_RESTORE IE4_RESTORE
164#define AFSR_BACKNEW IE4_BACKNEW
165#define AFSR_NODELETENEW IE4_NODELETENEW
166#define AFSR_NOMESSAGES IE4_NOMESSAGES
167#define AFSR_NOPROGRESS IE4_NOPROGRESS
168#define AFSR_UPDREFCNT IE4_UPDREFCNT
169#define AFSR_USEREFCNT IE4_USEREFCNT
170#define AFSR_EXTRAINCREFCNT IE4_EXTRAINCREFCNT
176#define AddDelBackupEntry WINELIB_NAME_AW(AddDelBackupEntry)
183#define AdvInstallFile WINELIB_NAME_AW(AdvInstallFile)
187#define DelNode WINELIB_NAME_AW(DelNode)
190#define DelNodeRunDLL32 WINELIB_NAME_AW(DelNodeRunDLL32)
193#define ExecuteCab WINELIB_NAME_AW(ExecuteCab)
196#define ExtractFiles WINELIB_NAME_AW(ExtractFiles)
212#define FileSaveMarkNotExist WINELIB_NAME_AW(FileSaveMarkNotExist)
218#define FileSaveRestore WINELIB_NAME_AW(FileSaveRestore)
223#define FileSaveRestoreOnINF WINELIB_NAME_AW(FileSaveRestoreOnINF)
226#define GetVersionFromFile WINELIB_NAME_AW(GetVersionFromFile)
229#define GetVersionFromFileEx WINELIB_NAME_AW(GetVersionFromFileEx)
233#define LaunchINFSection WINELIB_NAME_AW(LaunchINFSection)
251#define LaunchINFSectionEx WINELIB_NAME_AW(LaunchINFSectionEx)
259#define OpenINFEngine WINELIB_NAME_AW(OpenINFEngine)
262#define RebootCheckOnInstall WINELIB_NAME_AW(RebootCheckOnInstall)
265#define RegInstall WINELIB_NAME_AW(RegInstall)
281#define RegRestoreAll WINELIB_NAME_AW(RegRestoreAll)
287#define RegSaveRestore WINELIB_NAME_AW(RegSaveRestore)
292#define RegSaveRestoreOnINF WINELIB_NAME_AW(RegSaveRestoreOnINF)
299#define RunSetupCommand WINELIB_NAME_AW(RunSetupCommand)
302#define SetPerUserSecValues WINELIB_NAME_AW(SetPerUserSecValues)
328#define TranslateInfString WINELIB_NAME_AW(TranslateInfString)
335#define TranslateInfStringEx WINELIB_NAME_AW(TranslateInfStringEx)
338#define UserInstStubWrapper WINELIB_NAME_AW(UserInstStubWrapper)
341#define UserUnInstStubWrapper WINELIB_NAME_AW(UserUnInstStubWrapper)
HRESULT WINAPI CloseINFEngine(HINF hInf)
struct _StrTableA * LPSTRTABLEA
HRESULT WINAPI GetVersionFromFileExA(LPCSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion)
BOOL WINAPI IsNTAdmin(DWORD, LPDWORD)
HRESULT WINAPI TranslateInfStringA(_In_ LPCSTR pszInfFilename, _In_ LPCSTR pszInstallSection, _In_ LPCSTR pszTranslateSection, _In_ LPCSTR pszTranslateKey, _Out_writes_opt_(dwBufferSize) LPSTR pszBuffer, _In_ DWORD dwBufferSize, _Out_ PDWORD pdwRequiredSize, _Reserved_ PVOID pvReserved)
HRESULT WINAPI RegSaveRestoreOnINFA(HWND hWnd, LPCSTR pszTitle, LPCSTR pszINF, LPCSTR pszSection, HKEY hHKLMBackKey, HKEY hHKCUBackKey, DWORD dwFlags)
HRESULT WINAPI FileSaveRestoreA(HWND hDlg, LPSTR pszFileList, LPSTR pszDir, LPSTR pszBaseName, DWORD dwFlags)
HRESULT WINAPI RunSetupCommandA(HWND hWnd, LPCSTR szCmdName, LPCSTR szInfSection, LPCSTR szDir, LPCSTR lpszTitle, HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved)
HRESULT WINAPI FileSaveMarkNotExistW(_In_opt_ LPWSTR pszFileList, _In_opt_ LPWSTR pszDir, _In_opt_ LPWSTR pszBaseName)
struct _CabInfoA CABINFOA
struct _CabInfoA * PCABINFOA
struct _PERUSERSECTIONW PERUSERSECTIONW
HRESULT WINAPI GetVersionFromFileExW(LPCWSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion)
struct _PERUSERSECTIONA PERUSERSECTIONA
HRESULT WINAPI GetVersionFromFileA(LPCSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion)
HRESULT WINAPI DelNodeA(LPCSTR pszFileOrDirName, DWORD dwFlags)
HRESULT WINAPI RegRestoreAllA(_In_opt_ HWND hWnd, _In_opt_ LPSTR pszTitleString, _In_ HKEY hkBackupKey)
const STRTABLEW CSTRTABLEW
HRESULT WINAPI ExecuteCabW(HWND hwnd, CABINFOW *pCab, LPVOID pReserved)
HRESULT WINAPI AddDelBackupEntryA(LPCSTR lpcszFileList, LPCSTR lpcszBackupDir, LPCSTR lpcszBaseName, DWORD dwFlags)
HRESULT WINAPI RegInstallA(HMODULE hm, LPCSTR pszSection, const STRTABLEA *pstTable)
HRESULT WINAPI GetVersionFromFileW(LPCWSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion)
HRESULT WINAPI LaunchINFSectionExA(_In_opt_ HWND, _In_opt_ HINSTANCE, _In_ LPSTR, _In_ INT)
HRESULT WINAPI RunSetupCommandW(HWND hWnd, LPCWSTR szCmdName, LPCWSTR szInfSection, LPCWSTR szDir, LPCWSTR lpszTitle, HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved)
struct _StrEntryW * LPSTRENTRYW
HRESULT WINAPI FileSaveMarkNotExistA(_In_opt_ LPSTR pszFileList, _In_opt_ LPSTR pszDir, _In_opt_ LPSTR pszBaseName)
HRESULT WINAPI DelNodeRunDLL32W(HWND, HINSTANCE, LPWSTR, INT)
HRESULT WINAPI FileSaveRestoreOnINFA(HWND hWnd, LPCSTR pszTitle, LPCSTR pszINF, LPCSTR pszSection, LPCSTR pszBackupDir, LPCSTR pszBaseBackupFile, DWORD dwFlags)
HRESULT WINAPI SetPerUserSecValuesA(PERUSERSECTIONA *pPerUser)
HRESULT WINAPI RebootCheckOnInstallA(HWND hWnd, LPCSTR pszINF, LPCSTR pszSec, DWORD dwReserved)
INT WINAPI LaunchINFSectionW(HWND, HINSTANCE, LPWSTR, INT)
BOOL WINAPI NeedReboot(DWORD dwRebootCheck)
struct _StrEntryA * LPSTRENTRYA
INT WINAPI LaunchINFSectionA(HWND, HINSTANCE, LPSTR, INT)
HRESULT WINAPI ExecuteCabA(HWND hwnd, CABINFOA *pCab, LPVOID pReserved)
HRESULT WINAPI AdvInstallFileW(HWND hwnd, LPCWSTR lpszSourceDir, LPCWSTR lpszSourceFile, LPCWSTR lpszDestDir, LPCWSTR lpszDestFile, DWORD dwFlags, DWORD dwReserved)
HRESULT WINAPI TranslateInfStringExW(HINF hInf, LPCWSTR pszInfFilename, LPCWSTR pszTranslateSection, LPCWSTR pszTranslateKey, LPWSTR pszBuffer, DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved)
HRESULT WINAPI RebootCheckOnInstallW(HWND hWnd, LPCWSTR pszINF, LPCWSTR pszSec, DWORD dwReserved)
struct _StrTableA STRTABLEA
HRESULT WINAPI FileSaveRestoreW(HWND hDlg, LPWSTR pszFileList, LPWSTR pszDir, LPWSTR pszBaseName, DWORD dwFlags)
HRESULT WINAPI FileSaveRestoreOnINFW(HWND hWnd, LPCWSTR pszTitle, LPCWSTR pszINF, LPCWSTR pszSection, LPCWSTR pszBackupDir, LPCWSTR pszBaseBackupFile, DWORD dwFlags)
struct _PERUSERSECTIONW * PPERUSERSECTIONW
struct _CabInfoW * PCABINFOW
HRESULT WINAPI TranslateInfStringExA(HINF hInf, LPCSTR pszInfFilename, LPCSTR pszTranslateSection, LPCSTR pszTranslateKey, LPSTR pszBuffer, DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved)
HRESULT WINAPI DelNodeRunDLL32A(HWND, HINSTANCE, LPSTR, INT)
HRESULT WINAPI DelNodeW(LPCWSTR pszFileOrDirName, DWORD dwFlags)
struct _CabInfoW CABINFOW
HRESULT WINAPI RegSaveRestoreA(HWND hWnd, LPCSTR pszTitleString, HKEY hkBackupKey, LPCSTR pcszRootKey, LPCSTR pcszSubKey, LPCSTR pcszValueName, DWORD dwFlags)
HRESULT WINAPI UserInstStubWrapperW(HWND hWnd, HINSTANCE hInstance, LPWSTR pszParms, INT nShow)
HRESULT WINAPI UserUnInstStubWrapperA(HWND hWnd, HINSTANCE hInstance, LPSTR pszParms, INT nShow)
HRESULT WINAPI RegInstallW(HMODULE hm, LPCWSTR pszSection, const STRTABLEW *pstTable)
struct _StrTableW STRTABLEW
HRESULT WINAPI ExtractFilesA(LPCSTR, LPCSTR, DWORD, LPCSTR, LPVOID, DWORD)
HRESULT WINAPI AdvInstallFileA(HWND hwnd, LPCSTR lpszSourceDir, LPCSTR lpszSourceFile, LPCSTR lpszDestDir, LPCSTR lpszDestFile, DWORD dwFlags, DWORD dwReserved)
HRESULT WINAPI OpenINFEngineA(LPCSTR pszInfFilename, LPCSTR pszInstallSection, DWORD dwFlags, HINF *phInf, PVOID pvReserved)
const STRTABLEA * LPCSTRTABLEA
HRESULT WINAPI OpenINFEngineW(LPCWSTR pszInfFilename, LPCWSTR pszInstallSection, DWORD dwFlags, HINF *phInf, PVOID pvReserved)
struct _PERUSERSECTIONA * PPERUSERSECTIONA
const STRTABLEW * LPCSTRTABLEW
struct _StrTableW * LPSTRTABLEW
HRESULT WINAPI TranslateInfStringW(_In_ LPCWSTR pszInfFilename, _In_ LPCWSTR pszInstallSection, _In_ LPCWSTR pszTranslateSection, _In_ LPCWSTR pszTranslateKey, _Out_writes_opt_(dwBufferSize) LPWSTR pszBuffer, _In_ DWORD dwBufferSize, _Out_ PDWORD pdwRequiredSize, _Reserved_ PVOID pvReserved)
HRESULT WINAPI UserUnInstStubWrapperW(HWND hWnd, HINSTANCE hInstance, LPWSTR pszParms, INT nShow)
struct _StrEntryA STRENTRYA
HRESULT WINAPI UserInstStubWrapperA(HWND hWnd, HINSTANCE hInstance, LPSTR pszParms, INT nShow)
HRESULT WINAPI SetPerUserSecValuesW(PERUSERSECTIONW *pPerUser)
HRESULT WINAPI AddDelBackupEntryW(LPCWSTR lpcszFileList, LPCWSTR lpcszBackupDir, LPCWSTR lpcszBaseName, DWORD dwFlags)
HRESULT WINAPI RegSaveRestoreW(HWND hWnd, LPCWSTR pszTitleString, HKEY hkBackupKey, LPCWSTR pcszRootKey, LPCWSTR pcszSubKey, LPCWSTR pcszValueName, DWORD dwFlags)
DWORD WINAPI NeedRebootInit(VOID)
const STRTABLEA CSTRTABLEA
HRESULT WINAPI ExtractFilesW(LPCWSTR, LPCWSTR, DWORD, LPCWSTR, LPVOID, DWORD)
HRESULT WINAPI RegRestoreAllW(_In_opt_ HWND hWnd, _In_opt_ LPWSTR pszTitleString, _In_ HKEY hkBackupKey)
struct _StrEntryW STRENTRYW
HRESULT WINAPI RegSaveRestoreOnINFW(HWND hWnd, LPCWSTR pszTitle, LPCWSTR pszINF, LPCWSTR pszSection, HKEY hHKLMBackKey, HKEY hHKCUBackKey, DWORD dwFlags)
HRESULT WINAPI LaunchINFSectionExW(_In_opt_ HWND, _In_opt_ HINSTANCE, _In_ LPWSTR, _In_ INT)
static LPCSTR DWORD void * pvReserved
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
#define _Out_writes_opt_(s)
WCHAR szSrcPath[MAX_PATH]
WCHAR szStub[MAX_PATH *4]
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
#define DECL_WINELIB_TYPE_AW(type)