advpack: Add a stub for SetPerUserSecValues.

This commit is contained in:
James Hawkins 2006-01-21 19:21:22 +01:00 committed by Alexandre Julliard
parent 1142a1f2af
commit 70566c0331
3 changed files with 36 additions and 1 deletions

View File

@ -413,6 +413,29 @@ HRESULT WINAPI ExecuteCab( HWND hwnd, PCABINFO pCab, LPVOID pReserved )
return E_FAIL;
}
/***********************************************************************
* SetPerUserSecValues (ADVPACK.@)
*
* Prepares the per-user stub values under IsInstalled\{GUID} that
* control the per-user installation.
*
* PARAMS
* pPerUser [I] Per-user stub values.
*
* RETURNS
* Success: S_OK.
* Failure: E_FAIL.
*
* BUGS
* Unimplemented.
*/
HRESULT WINAPI SetPerUserSecValues(PPERUSERSECTION pPerUser)
{
FIXME("(%p) stub\n", pPerUser);
return E_FAIL;
}
/***********************************************************************
* TranslateInfString (ADVPACK.@)
*

View File

@ -25,7 +25,7 @@
@ stdcall RegSaveRestoreOnINF(ptr str str str long long long)
@ stdcall RegisterOCX(ptr ptr str long)
@ stdcall RunSetupCommand(long str str str str ptr long ptr)
@ stub SetPerUserSecValues
@ stdcall SetPerUserSecValues(ptr)
@ stdcall TranslateInfString(str str str str ptr long ptr ptr)
@ stdcall TranslateInfStringEx(long str str str str long ptr ptr)
@ stdcall UserInstStubWrapper(long long str long)

View File

@ -30,6 +30,17 @@ typedef struct _CabInfo {
DWORD dwFlags;
} CABINFO, *PCABINFO;
typedef struct _PERUSERSECTION {
char szGUID[39 /*MAX_GUID_STRING_LEN*/ + 20];
char szDispName[128];
char szLocale[10];
char szStub[MAX_PATH * 4];
char szVersion[32];
char szCompID[128];
DWORD dwIsInstalled;
BOOL bRollback;
} PERUSERSECTION, *PPERUSERSECTION;
typedef struct _StrEntry {
LPSTR pszName;
LPSTR pszValue;
@ -137,6 +148,7 @@ HRESULT WINAPI RegSaveRestoreOnINF(HWND hWnd, PCSTR pszTitle, PCSTR pszINF,
HRESULT WINAPI RunSetupCommand(HWND hWnd,
LPCSTR szCmdName, LPCSTR szInfSection, LPCSTR szDir, LPCSTR lpszTitle,
HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved);
HRESULT WINAPI SetPerUserSecValues(PPERUSERSECTION pPerUser);
HRESULT WINAPI TranslateInfString(PCSTR pszInfFilename, PCSTR pszInstallSection,
PCSTR pszTranslateSection, PCSTR pszTranslateKey, PSTR pszBuffer,
DWORD dwBufferSize, PDWORD pdwRequiredSize, PVOID pvReserved);