Add/correct prototypes for some already defined functions in advpack.
This commit is contained in:
parent
abb5d46d88
commit
8bbde0c4d4
|
@ -93,17 +93,19 @@ HRESULT WINAPI RunSetupCommand( HWND hWnd, LPCSTR szCmdName,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* LaunchINFSection (ADVPACK.@)
|
* LaunchINFSection (ADVPACK.@)
|
||||||
*/
|
*/
|
||||||
void WINAPI LaunchINFSection( HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show )
|
INT WINAPI LaunchINFSection( HWND hWnd, HINSTANCE hInst, LPSTR cmdline, INT show )
|
||||||
{
|
{
|
||||||
FIXME("(%p %p %s %d): stub\n", hWnd, hInst, debugstr_a(cmdline), show );
|
FIXME("(%p %p %s %d): stub\n", hWnd, hInst, debugstr_a(cmdline), show );
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* LaunchINFSectionEx (ADVPACK.@)
|
* LaunchINFSectionEx (ADVPACK.@)
|
||||||
*/
|
*/
|
||||||
void WINAPI LaunchINFSectionEx( HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show )
|
HRESULT WINAPI LaunchINFSectionEx( HWND hWnd, HINSTANCE hInst, LPSTR cmdline, INT show )
|
||||||
{
|
{
|
||||||
FIXME("(%p %p %s %d): stub\n", hWnd, hInst, debugstr_a(cmdline), show );
|
FIXME("(%p %p %s %d): stub\n", hWnd, hInst, debugstr_a(cmdline), show );
|
||||||
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this structure very closely resembles parameters of RunSetupCommand() */
|
/* this structure very closely resembles parameters of RunSetupCommand() */
|
||||||
|
@ -146,7 +148,7 @@ BOOL WINAPI DoInfInstall(const SETUPCOMMAND_PARAMS *setup)
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* IsNTAdmin (ADVPACK.@)
|
* IsNTAdmin (ADVPACK.@)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI IsNTAdmin( DWORD reserved, PDWORD pReserved )
|
BOOL WINAPI IsNTAdmin( DWORD reserved, LPDWORD pReserved )
|
||||||
{
|
{
|
||||||
FIXME("(0x%08lx, %p): stub\n", reserved, pReserved);
|
FIXME("(0x%08lx, %p): stub\n", reserved, pReserved);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -375,9 +377,10 @@ HRESULT WINAPI DelNode( LPCSTR pszFileOrDirName, DWORD dwFlags )
|
||||||
* BUGS
|
* BUGS
|
||||||
* Unimplemented
|
* Unimplemented
|
||||||
*/
|
*/
|
||||||
void WINAPI DelNodeRunDLL32( HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show )
|
HRESULT WINAPI DelNodeRunDLL32( HWND hWnd, HINSTANCE hInst, LPSTR cmdline, INT show )
|
||||||
{
|
{
|
||||||
FIXME("(%s): stub\n", debugstr_a(cmdline));
|
FIXME("(%s): stub\n", debugstr_a(cmdline));
|
||||||
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
|
|
@ -60,16 +60,21 @@ typedef CSTRTABLE *LPCSTRTABLE;
|
||||||
#define ADN_DONT_DEL_SUBDIRS 0x00000002
|
#define ADN_DONT_DEL_SUBDIRS 0x00000002
|
||||||
#define ADN_DONT_DEL_DIR 0x00000004
|
#define ADN_DONT_DEL_DIR 0x00000004
|
||||||
|
|
||||||
HRESULT WINAPI RunSetupCommand(HWND hWnd,
|
|
||||||
LPCSTR szCmdName, LPCSTR szInfSection, LPCSTR szDir, LPCSTR lpszTitle,
|
|
||||||
HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved);
|
|
||||||
HRESULT WINAPI DelNode(LPCSTR pszFileOrDirName, DWORD dwFlags);
|
HRESULT WINAPI DelNode(LPCSTR pszFileOrDirName, DWORD dwFlags);
|
||||||
|
HRESULT WINAPI DelNodeRunDLL32(HWND,HINSTANCE,LPSTR,INT);
|
||||||
HRESULT WINAPI ExecuteCab( HWND hwnd, PCABINFO pCab, LPVOID pReserved );
|
HRESULT WINAPI ExecuteCab( HWND hwnd, PCABINFO pCab, LPVOID pReserved );
|
||||||
|
HRESULT WINAPI ExtractFiles(LPCSTR,LPCSTR,DWORD,LPCSTR,LPVOID,DWORD);
|
||||||
|
HRESULT WINAPI GetVersionFromFile(LPSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion);
|
||||||
|
HRESULT WINAPI GetVersionFromFileEx(LPSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion);
|
||||||
|
BOOL WINAPI IsNTAdmin(DWORD,LPDWORD);
|
||||||
|
INT WINAPI LaunchINFSection(HWND,HINSTANCE,LPSTR,INT);
|
||||||
|
HRESULT WINAPI LaunchINFSectionEx(HWND,HINSTANCE,LPSTR,INT);
|
||||||
DWORD WINAPI NeedRebootInit(VOID);
|
DWORD WINAPI NeedRebootInit(VOID);
|
||||||
BOOL WINAPI NeedReboot(DWORD dwRebootCheck);
|
BOOL WINAPI NeedReboot(DWORD dwRebootCheck);
|
||||||
HRESULT WINAPI RegInstall(HMODULE hm, LPCSTR pszSection, LPCSTRTABLE pstTable);
|
HRESULT WINAPI RegInstall(HMODULE hm, LPCSTR pszSection, LPCSTRTABLE pstTable);
|
||||||
HRESULT WINAPI GetVersionFromFile(LPSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion);
|
HRESULT WINAPI RunSetupCommand(HWND hWnd,
|
||||||
HRESULT WINAPI GetVersionFromFileEx(LPSTR lpszFilename, LPDWORD pdwMSVer, LPDWORD pdwLSVer, BOOL bVersion);
|
LPCSTR szCmdName, LPCSTR szInfSection, LPCSTR szDir, LPCSTR lpszTitle,
|
||||||
|
HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved);
|
||||||
HRESULT WINAPI TranslateInfString(PCSTR pszInfFilename, PCSTR pszInstallSection,
|
HRESULT WINAPI TranslateInfString(PCSTR pszInfFilename, PCSTR pszInstallSection,
|
||||||
PCSTR pszTranslateSection, PCSTR pszTranslateKey, PSTR pszBuffer,
|
PCSTR pszTranslateSection, PCSTR pszTranslateKey, PSTR pszBuffer,
|
||||||
DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved);
|
DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved);
|
||||||
|
|
Loading…
Reference in New Issue