ReactOS  0.4.13-dev-257-gfabbd7c
advpub.h
Go to the documentation of this file.
1 /*
2  * Copyright 2004 Huw D M Davies
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 #ifndef __WINE_ADVPUB_H
19 #define __WINE_ADVPUB_H
20 
21 #include <setupapi.h>
22 /* FIXME: #include <cfgmgr32.h> */
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 #ifndef S_ASYNCHRONOUS
29 #define S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x401E8L)
30 #endif
31 
32 typedef struct _CabInfoA
33 {
40 
41 typedef struct _CabInfoW
42 {
49 
50 DECL_WINELIB_TYPE_AW(CABINFO)
51 DECL_WINELIB_TYPE_AW(PCABINFO)
52 
54 {
55  CHAR szGUID[39 /*MAX_GUID_STRING_LEN*/ + 20];
56  CHAR szDispName[128];
57  CHAR szLocale[10];
58  CHAR szStub[MAX_PATH * 4];
60  CHAR szCompID[128];
64 
65 typedef struct _PERUSERSECTIONW
66 {
67  WCHAR szGUID[39 /*MAX_GUID_STRING_LEN*/ + 20];
76 
77 DECL_WINELIB_TYPE_AW(PERUSERSECTION)
78 DECL_WINELIB_TYPE_AW(PPERUSERSECTION)
79 
81 {
85 
86 typedef struct _StrEntryW
87 {
91 
92 DECL_WINELIB_TYPE_AW(STRENTRY)
93 DECL_WINELIB_TYPE_AW(LPSTRENTRY)
94 
96 {
101 
102 typedef struct _StrTableW
103 {
108 
109 DECL_WINELIB_TYPE_AW(STRTABLE)
110 DECL_WINELIB_TYPE_AW(CSTRTABLE)
111 DECL_WINELIB_TYPE_AW(LPSTRTABLE)
112 DECL_WINELIB_TYPE_AW(LPCSTRTABLE)
113 
114 /* Flags for AddDelBackupEntry */
115 #define AADBE_ADD_ENTRY 0x01
116 #define AADBE_DEL_ENTRY 0x02
117 
118 /* Flags for AdvInstallFile */
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
128 
129 /* Flags for RunSetupCommand */
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
137 
138 /* Flags for LaunchINFSection */
139 #define LIS_QUIET 0x00000001
140 #define LIS_NOGRPCONV 0x00000002
141 
142 /* Flags for DelNode */
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
147 
148 /* Flags for RegRestoreAll, RegSaveRestore, RegSaveRestoreOnINF */
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
161 
162 /* Flags for file save and restore functions */
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
171 
172 HRESULT WINAPI AddDelBackupEntryA(LPCSTR lpcszFileList, LPCSTR lpcszBackupDir,
173  LPCSTR lpcszBaseName, DWORD dwFlags);
174 HRESULT WINAPI AddDelBackupEntryW(LPCWSTR lpcszFileList, LPCWSTR lpcszBackupDir,
175  LPCWSTR lpcszBaseName, DWORD dwFlags);
176 #define AddDelBackupEntry WINELIB_NAME_AW(AddDelBackupEntry)
178  LPCSTR lpszSourceFile, LPCSTR lpszDestDir, LPCSTR lpszDestFile,
181  LPCWSTR lpszSourceFile, LPCWSTR lpszDestDir, LPCWSTR lpszDestFile,
183 #define AdvInstallFile WINELIB_NAME_AW(AdvInstallFile)
185 HRESULT WINAPI DelNodeA(LPCSTR pszFileOrDirName, DWORD dwFlags);
186 HRESULT WINAPI DelNodeW(LPCWSTR pszFileOrDirName, DWORD dwFlags);
187 #define DelNode WINELIB_NAME_AW(DelNode)
190 #define DelNodeRunDLL32 WINELIB_NAME_AW(DelNodeRunDLL32)
191 HRESULT WINAPI ExecuteCabA( HWND hwnd, CABINFOA* pCab, LPVOID pReserved );
192 HRESULT WINAPI ExecuteCabW( HWND hwnd, CABINFOW* pCab, LPVOID pReserved );
193 #define ExecuteCab WINELIB_NAME_AW(ExecuteCab)
196 #define ExtractFiles WINELIB_NAME_AW(ExtractFiles)
197 
198 HRESULT
199 WINAPI
201  _In_opt_ LPSTR pszFileList,
203  _In_opt_ LPSTR pszBaseName);
204 
205 HRESULT
206 WINAPI
208  _In_opt_ LPWSTR pszFileList,
210  _In_opt_ LPWSTR pszBaseName);
211 
212 #define FileSaveMarkNotExist WINELIB_NAME_AW(FileSaveMarkNotExist)
213 
215  LPSTR pszBaseName, DWORD dwFlags);
217  LPWSTR pszBaseName, DWORD dwFlags);
218 #define FileSaveRestore WINELIB_NAME_AW(FileSaveRestore)
220  LPCSTR pszSection, LPCSTR pszBackupDir, LPCSTR pszBaseBackupFile, DWORD dwFlags);
222  LPCWSTR pszSection, LPCWSTR pszBackupDir, LPCWSTR pszBaseBackupFile, DWORD dwFlags);
223 #define FileSaveRestoreOnINF WINELIB_NAME_AW(FileSaveRestoreOnINF)
224 HRESULT WINAPI GetVersionFromFileA(LPCSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion);
225 HRESULT WINAPI GetVersionFromFileW(LPCWSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion);
226 #define GetVersionFromFile WINELIB_NAME_AW(GetVersionFromFile)
227 HRESULT WINAPI GetVersionFromFileExA(LPCSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion);
228 HRESULT WINAPI GetVersionFromFileExW(LPCWSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion);
229 #define GetVersionFromFileEx WINELIB_NAME_AW(GetVersionFromFileEx)
233 #define LaunchINFSection WINELIB_NAME_AW(LaunchINFSection)
234 
235 HRESULT
236 WINAPI
238  _In_opt_ HWND,
240  _In_ LPSTR,
241  _In_ INT);
242 
243 HRESULT
244 WINAPI
246  _In_opt_ HWND,
248  _In_ LPWSTR,
249  _In_ INT);
250 
251 #define LaunchINFSectionEx WINELIB_NAME_AW(LaunchINFSectionEx)
252 
254 BOOL WINAPI NeedReboot(DWORD dwRebootCheck);
255 HRESULT WINAPI OpenINFEngineA(LPCSTR pszInfFilename, LPCSTR pszInstallSection,
256  DWORD dwFlags, HINF *phInf, PVOID pvReserved);
257 HRESULT WINAPI OpenINFEngineW(LPCWSTR pszInfFilename, LPCWSTR pszInstallSection,
258  DWORD dwFlags, HINF *phInf, PVOID pvReserved);
259 #define OpenINFEngine WINELIB_NAME_AW(OpenINFEngine)
262 #define RebootCheckOnInstall WINELIB_NAME_AW(RebootCheckOnInstall)
263 HRESULT WINAPI RegInstallA(HMODULE hm, LPCSTR pszSection, const STRTABLEA* pstTable);
264 HRESULT WINAPI RegInstallW(HMODULE hm, LPCWSTR pszSection, const STRTABLEW* pstTable);
265 #define RegInstall WINELIB_NAME_AW(RegInstall)
266 
267 HRESULT
268 WINAPI
271  _In_opt_ LPSTR pszTitleString,
272  _In_ HKEY hkBackupKey);
273 
274 HRESULT
275 WINAPI
278  _In_opt_ LPWSTR pszTitleString,
279  _In_ HKEY hkBackupKey);
280 
281 #define RegRestoreAll WINELIB_NAME_AW(RegRestoreAll)
282 
283 HRESULT WINAPI RegSaveRestoreA(HWND hWnd, LPCSTR pszTitleString, HKEY hkBackupKey,
284  LPCSTR pcszRootKey, LPCSTR pcszSubKey, LPCSTR pcszValueName, DWORD dwFlags);
285 HRESULT WINAPI RegSaveRestoreW(HWND hWnd, LPCWSTR pszTitleString, HKEY hkBackupKey,
286  LPCWSTR pcszRootKey, LPCWSTR pcszSubKey, LPCWSTR pcszValueName, DWORD dwFlags);
287 #define RegSaveRestore WINELIB_NAME_AW(RegSaveRestore)
289  LPCSTR pszSection, HKEY hHKLMBackKey, HKEY hHKCUBackKey, DWORD dwFlags);
291  LPCWSTR pszSection, HKEY hHKLMBackKey, HKEY hHKCUBackKey, DWORD dwFlags);
292 #define RegSaveRestoreOnINF WINELIB_NAME_AW(RegSaveRestoreOnINF)
294  LPCSTR szCmdName, LPCSTR szInfSection, LPCSTR szDir, LPCSTR lpszTitle,
297  LPCWSTR szCmdName, LPCWSTR szInfSection, LPCWSTR szDir, LPCWSTR lpszTitle,
299 #define RunSetupCommand WINELIB_NAME_AW(RunSetupCommand)
302 #define SetPerUserSecValues WINELIB_NAME_AW(SetPerUserSecValues)
303 
304 HRESULT
305 WINAPI
307  _In_ LPCSTR pszInfFilename,
308  _In_ LPCSTR pszInstallSection,
309  _In_ LPCSTR pszTranslateSection,
310  _In_ LPCSTR pszTranslateKey,
311  _Out_writes_opt_(dwBufferSize) LPSTR pszBuffer,
312  _In_ DWORD dwBufferSize,
313  _Out_ PDWORD pdwRequiredSize,
315 
316 HRESULT
317 WINAPI
319  _In_ LPCWSTR pszInfFilename,
320  _In_ LPCWSTR pszInstallSection,
321  _In_ LPCWSTR pszTranslateSection,
322  _In_ LPCWSTR pszTranslateKey,
323  _Out_writes_opt_(dwBufferSize) LPWSTR pszBuffer,
324  _In_ DWORD dwBufferSize,
325  _Out_ PDWORD pdwRequiredSize,
327 
328 #define TranslateInfString WINELIB_NAME_AW(TranslateInfString)
329 HRESULT WINAPI TranslateInfStringExA(HINF hInf, LPCSTR pszInfFilename,
330  LPCSTR pszTranslateSection, LPCSTR pszTranslateKey, LPSTR pszBuffer,
331  DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved);
332 HRESULT WINAPI TranslateInfStringExW(HINF hInf, LPCWSTR pszInfFilename,
333  LPCWSTR pszTranslateSection, LPCWSTR pszTranslateKey, LPWSTR pszBuffer,
334  DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved);
335 #define TranslateInfStringEx WINELIB_NAME_AW(TranslateInfStringEx)
338 #define UserInstStubWrapper WINELIB_NAME_AW(UserInstStubWrapper)
341 #define UserUnInstStubWrapper WINELIB_NAME_AW(UserUnInstStubWrapper)
342 
343 #ifdef __cplusplus
344 }
345 #endif
346 
347 #endif /* __WINE_ADVPUB_H */
WCHAR szStub[MAX_PATH *4]
Definition: advpub.h:70
HRESULT WINAPI DelNodeRunDLL32A(HWND, HINSTANCE, LPSTR, INT)
Definition: files.c:459
HRESULT WINAPI RegInstallW(HMODULE hm, LPCWSTR pszSection, const STRTABLEW *pstTable)
Definition: reg.c:221
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
LPSTR pszCab
Definition: advpub.h:34
HRESULT WINAPI FileSaveMarkNotExistA(_In_opt_ LPSTR pszFileList, _In_opt_ LPSTR pszDir, _In_opt_ LPSTR pszBaseName)
INT WINAPI LaunchINFSectionA(HWND, HINSTANCE, LPSTR, INT)
Definition: install.c:705
struct _StrTableW STRTABLEW
HRESULT WINAPI UserUnInstStubWrapperA(HWND hWnd, HINSTANCE hInstance, LPSTR pszParms, INT nShow)
Definition: advpack.c:953
struct _PERUSERSECTIONW * PPERUSERSECTIONW
HRESULT WINAPI RunSetupCommandA(HWND hWnd, LPCSTR szCmdName, LPCSTR szInfSection, LPCSTR szDir, LPCSTR lpszTitle, HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved)
Definition: install.c:933
struct _CabInfoW * PCABINFOW
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
DWORD cEntries
Definition: advpub.h:97
HRESULT WINAPI OpenINFEngineA(LPCSTR pszInfFilename, LPCSTR pszInstallSection, DWORD dwFlags, HINF *phInf, PVOID pvReserved)
Definition: advpack.c:322
DWORD WINAPI NeedRebootInit(VOID)
Definition: advpack.c:291
BOOL bRollback
Definition: advpub.h:74
LPWSTR pszInf
Definition: advpub.h:44
HRESULT WINAPI ExecuteCabW(HWND hwnd, CABINFOW *pCab, LPVOID pReserved)
Definition: install.c:672
HRESULT WINAPI DelNodeA(LPCSTR pszFileOrDirName, DWORD dwFlags)
Definition: files.c:398
char CHAR
Definition: xmlstorage.h:175
HRESULT WINAPI ExtractFilesA(LPCSTR, LPCSTR, DWORD, LPCSTR, LPVOID, DWORD)
Definition: files.c:688
WCHAR szDispName[128]
Definition: advpub.h:68
DWORD cEntries
Definition: advpub.h:104
HWND hWnd
Definition: settings.c:17
HRESULT WINAPI RebootCheckOnInstallW(HWND hWnd, LPCWSTR pszINF, LPCWSTR pszSec, DWORD dwReserved)
Definition: advpack.c:432
DWORD dwIsInstalled
Definition: advpub.h:73
struct _PERUSERSECTIONA PERUSERSECTIONA
HRESULT WINAPI FileSaveRestoreOnINFW(HWND hWnd, LPCWSTR pszTitle, LPCWSTR pszINF, LPCWSTR pszSection, LPCWSTR pszBackupDir, LPCWSTR pszBaseBackupFile, DWORD dwFlags)
Definition: files.c:971
char * LPSTR
Definition: xmlstorage.h:182
HRESULT WINAPI DelNodeW(LPCWSTR pszFileOrDirName, DWORD dwFlags)
Definition: files.c:432
int32_t INT
Definition: typedefs.h:56
BOOL WINAPI IsNTAdmin(DWORD, LPDWORD)
Definition: advpack.c:222
WCHAR szGUID[39+20]
Definition: advpub.h:67
HRESULT WINAPI RunSetupCommandW(HWND hWnd, LPCWSTR szCmdName, LPCWSTR szInfSection, LPCWSTR szDir, LPCWSTR lpszTitle, HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved)
Definition: install.c:991
#define _In_opt_
Definition: no_sal2.h:213
struct _PERUSERSECTIONA * PPERUSERSECTIONA
struct _StrEntryW STRENTRYW
struct _StrEntryA * LPSTRENTRYA
struct _StrEntryW * LPSTRENTRYW
LPSTR pszValue
Definition: advpub.h:83
HINSTANCE hInstance
Definition: charmap.c:20
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:90
#define DECL_WINELIB_TYPE_AW(type)
Definition: windef.h:386
unsigned int BOOL
Definition: ntddk_ex.h:94
HRESULT WINAPI RegSaveRestoreOnINFA(HWND hWnd, LPCSTR pszTitle, LPCSTR pszINF, LPCSTR pszSection, HKEY hHKLMBackKey, HKEY hHKCUBackKey, DWORD dwFlags)
Definition: reg.c:383
DWORD dwFlags
Definition: advpub.h:38
HRESULT WINAPI RegSaveRestoreW(HWND hWnd, LPCWSTR pszTitleString, HKEY hkBackupKey, LPCWSTR pcszRootKey, LPCWSTR pcszSubKey, LPCWSTR pcszValueName, DWORD dwFlags)
Definition: reg.c:367
HRESULT WINAPI RegRestoreAllA(_In_opt_ HWND hWnd, _In_opt_ LPSTR pszTitleString, _In_ HKEY hkBackupKey)
HRESULT WINAPI SetPerUserSecValuesA(PERUSERSECTIONA *pPerUser)
Definition: advpack.c:524
DWORD dwFlags
Definition: advpub.h:47
#define _Out_
Definition: no_sal2.h:323
BOOL WINAPI NeedReboot(DWORD dwRebootCheck)
Definition: advpack.c:311
HRESULT WINAPI LaunchINFSectionExW(_In_opt_ HWND, _In_opt_ HINSTANCE, _In_ LPWSTR, _In_ INT)
const char * LPCSTR
Definition: xmlstorage.h:183
HRESULT WINAPI RegSaveRestoreA(HWND hWnd, LPCSTR pszTitleString, HKEY hkBackupKey, LPCSTR pcszRootKey, LPCSTR pcszSubKey, LPCSTR pcszValueName, DWORD dwFlags)
Definition: reg.c:319
HRESULT WINAPI GetVersionFromFileA(LPCSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion)
Definition: files.c:987
STRENTRYA * pse
Definition: advpub.h:98
HRESULT WINAPI CloseINFEngine(HINF hInf)
Definition: advpack.c:199
HRESULT WINAPI SetPerUserSecValuesW(PERUSERSECTIONW *pPerUser)
Definition: advpack.c:558
HRESULT WINAPI RegRestoreAllW(_In_opt_ HWND hWnd, _In_opt_ LPWSTR pszTitleString, _In_ HKEY hkBackupKey)
HRESULT WINAPI AddDelBackupEntryA(LPCSTR lpcszFileList, LPCSTR lpcszBackupDir, LPCSTR lpcszBaseName, DWORD dwFlags)
Definition: files.c:59
LPSTR pszSection
Definition: advpub.h:36
__wchar_t WCHAR
Definition: xmlstorage.h:180
HRESULT WINAPI OpenINFEngineW(LPCWSTR pszInfFilename, LPCWSTR pszInstallSection, DWORD dwFlags, HINF *phInf, PVOID pvReserved)
Definition: advpack.c:363
LONG HRESULT
Definition: typedefs.h:77
HRESULT WINAPI FileSaveRestoreW(HWND hDlg, LPWSTR pszFileList, LPWSTR pszDir, LPWSTR pszBaseName, DWORD dwFlags)
Definition: files.c:904
static LPCSTR DWORD void * pvReserved
Definition: str.c:196
struct _StrTableW * LPSTRTABLEW
_In_ LPCSTR pszDir
Definition: shellapi.h:580
LPWSTR pszValue
Definition: advpub.h:89
#define MAX_PATH
Definition: compat.h:26
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT WINAPI TranslateInfStringExW(HINF hInf, LPCWSTR pszInfFilename, LPCWSTR pszTranslateSection, LPCWSTR pszTranslateKey, LPWSTR pszBuffer, DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved)
Definition: advpack.c:835
HRESULT WINAPI FileSaveRestoreOnINFA(HWND hWnd, LPCSTR pszTitle, LPCSTR pszINF, LPCSTR pszSection, LPCSTR pszBackupDir, LPCSTR pszBaseBackupFile, DWORD dwFlags)
Definition: files.c:918
struct _CabInfoW CABINFOW
LPWSTR pszName
Definition: advpub.h:88
LPSTR pszName
Definition: advpub.h:82
static LPCWSTR szVersion
Definition: asmcache.c:748
#define _Reserved_
Definition: no_sal2.h:573
HRESULT WINAPI UserInstStubWrapperA(HWND hWnd, HINSTANCE hInstance, LPSTR pszParms, INT nShow)
Definition: advpack.c:864
HRESULT WINAPI GetVersionFromFileExW(LPCWSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion)
Definition: files.c:1054
struct _StrEntryA STRENTRYA
struct _CabInfoA * PCABINFOA
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI GetVersionFromFileW(LPCWSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion)
Definition: files.c:999
HRESULT WINAPI FileSaveMarkNotExistW(_In_opt_ LPWSTR pszFileList, _In_opt_ LPWSTR pszDir, _In_opt_ LPWSTR pszBaseName)
HRESULT WINAPI AdvInstallFileA(HWND hwnd, LPCSTR lpszSourceDir, LPCSTR lpszSourceFile, LPCSTR lpszDestDir, LPCSTR lpszDestFile, DWORD dwFlags, DWORD dwReserved)
Definition: files.c:196
HRESULT WINAPI TranslateInfStringExA(HINF hInf, LPCSTR pszInfFilename, LPCSTR pszTranslateSection, LPCSTR pszTranslateKey, LPSTR pszBuffer, DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved)
Definition: advpack.c:750
const STRTABLEW CSTRTABLEW
Definition: advpub.h:107
HRESULT WINAPI RegInstallA(HMODULE hm, LPCSTR pszSection, const STRTABLEA *pstTable)
Definition: reg.c:148
WCHAR szLocale[10]
Definition: advpub.h:69
#define _In_
Definition: no_sal2.h:204
WCHAR szVersion[32]
Definition: advpub.h:71
HRESULT WINAPI AddDelBackupEntryW(LPCWSTR lpcszFileList, LPCWSTR lpcszBackupDir, LPCWSTR lpcszBaseName, DWORD dwFlags)
Definition: files.c:117
const STRTABLEA * LPCSTRTABLEA
Definition: advpub.h:100
BOOL bRollback
Definition: advpub.h:62
HRESULT WINAPI LaunchINFSectionExA(_In_opt_ HWND, _In_opt_ HINSTANCE, _In_ LPSTR, _In_ INT)
HRESULT WINAPI AdvInstallFileW(HWND hwnd, LPCWSTR lpszSourceDir, LPCWSTR lpszSourceFile, LPCWSTR lpszDestDir, LPCWSTR lpszDestFile, DWORD dwFlags, DWORD dwReserved)
Definition: files.c:249
WCHAR szCompID[128]
Definition: advpub.h:72
_In_ UINT _Out_writes_opt_(cch) LPSTR lpszFile
STRENTRYW * pse
Definition: advpub.h:105
struct _StrTableA * LPSTRTABLEA
struct _CabInfoA CABINFOA
DWORD * PDWORD
Definition: pedump.c:68
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 DelNodeRunDLL32W(HWND, HINSTANCE, LPWSTR, INT)
Definition: files.c:490
HRESULT WINAPI FileSaveRestoreA(HWND hDlg, LPSTR pszFileList, LPSTR pszDir, LPSTR pszBaseName, DWORD dwFlags)
Definition: files.c:859
uint32_t * LPDWORD
Definition: typedefs.h:57
const STRTABLEW * LPCSTRTABLEW
Definition: advpub.h:107
struct _StrTableA STRTABLEA
HRESULT WINAPI RebootCheckOnInstallA(HWND hWnd, LPCSTR pszINF, LPCSTR pszSec, DWORD dwReserved)
Definition: advpack.c:386
HRESULT WINAPI RegSaveRestoreOnINFW(HWND hWnd, LPCWSTR pszTitle, LPCWSTR pszINF, LPCWSTR pszSection, HKEY hHKLMBackKey, HKEY hHKCUBackKey, DWORD dwFlags)
Definition: reg.c:429
INT WINAPI LaunchINFSectionW(HWND, HINSTANCE, LPWSTR, INT)
Definition: install.c:748
HRESULT WINAPI ExecuteCabA(HWND hwnd, CABINFOA *pCab, LPVOID pReserved)
Definition: install.c:619
HRESULT WINAPI GetVersionFromFileExA(LPCSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion)
Definition: files.c:1018
WCHAR * LPWSTR
Definition: xmlstorage.h:184
WCHAR szSrcPath[MAX_PATH]
Definition: advpub.h:46
DWORD dwIsInstalled
Definition: advpub.h:61
LPWSTR pszCab
Definition: advpub.h:43
HRESULT WINAPI UserInstStubWrapperW(HWND hWnd, HINSTANCE hInstance, LPWSTR pszParms, INT nShow)
Definition: advpack.c:905
CHAR szSrcPath[MAX_PATH]
Definition: advpub.h:37
HRESULT WINAPI UserUnInstStubWrapperW(HWND hWnd, HINSTANCE hInstance, LPWSTR pszParms, INT nShow)
Definition: advpack.c:976
struct _PERUSERSECTIONW PERUSERSECTIONW
LPWSTR pszSection
Definition: advpub.h:45
const STRTABLEA CSTRTABLEA
Definition: advpub.h:100
HRESULT WINAPI ExtractFilesW(LPCWSTR, LPCWSTR, DWORD, LPCWSTR, LPVOID, DWORD)
Definition: files.c:780
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)
LPSTR pszInf
Definition: advpub.h:35