Added stubs for ExecuteCab and TranslateInfString.

This commit is contained in:
Stefan Leichter 2005-07-11 18:01:48 +00:00 committed by Alexandre Julliard
parent c6d24d235a
commit e3a4f9b450
3 changed files with 39 additions and 2 deletions

View File

@ -370,3 +370,32 @@ void WINAPI DelNodeRunDLL32( HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT sho
{
FIXME("(%s): stub\n", debugstr_a(cmdline));
}
/***********************************************************************
* ExecuteCab (ADVPACK.@)
*
* BUGS
* Unimplemented
*/
HRESULT WINAPI ExecuteCab( HWND hwnd, PCABINFO pCab, LPVOID pReserved )
{
FIXME("(%p %p %p): stub\n", hwnd, pCab, pReserved);
return E_FAIL;
}
/***********************************************************************
* TranslateInfString (ADVPACK.@)
*
* BUGS
* Unimplemented
*/
HRESULT WINAPI TranslateInfString(PCSTR pszInfFilename, PCSTR pszInstallSection,
PCSTR pszTranslateSection, PCSTR pszTranslateKey, PSTR pszBuffer,
DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved)
{
FIXME("(%s %s %s %s %p %ld %p %p): stub\n",
debugstr_a(pszInfFilename), debugstr_a(pszInstallSection),
debugstr_a(pszTranslateSection), debugstr_a(pszTranslateKey),
pszBuffer, dwBufferSize,pdwRequiredSize, pvReserved);
return E_FAIL;
}

View File

@ -5,7 +5,7 @@
@ stdcall DelNodeRunDLL32(ptr ptr str long)
@ stdcall DllMain(long long ptr)
@ stdcall DoInfInstall(ptr)
@ stub ExecuteCab
@ stdcall ExecuteCab(ptr ptr ptr)
@ stub ExtractFiles
@ stub FileSaveMarkNotExist
@ stub FileSaveRestore
@ -26,7 +26,7 @@
@ stdcall RegisterOCX(ptr ptr str long)
@ stdcall RunSetupCommand(long str str str str ptr long ptr)
@ stub SetPerUserSecValues
@ stub TranslateInfString
@ stdcall TranslateInfString(str str str str ptr long ptr ptr)
@ stub TranslateInfStringEx
@ stub UserInstStubWrapper
@ stub UserUnInstStubWrapper

View File

@ -22,6 +22,14 @@
extern "C" {
#endif
typedef struct _CabInfo {
PSTR pszCab;
PSTR pszInf;
PSTR pszSection;
char szSrcPath[MAX_PATH];
DWORD dwFlags;
} CABINFO, *PCABINFO;
typedef struct _StrEntry {
LPSTR pszName;
LPSTR pszValue;