Commit e3a4f9b4 authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

Added stubs for ExecuteCab and TranslateInfString.

parent c6d24d23
......@@ -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;
}
......@@ -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
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment