Commit 70566c03 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

advpack: Add a stub for SetPerUserSecValues.

parent 1142a1f2
......@@ -414,6 +414,29 @@ HRESULT WINAPI ExecuteCab( HWND hwnd, PCABINFO pCab, LPVOID pReserved )
}
/***********************************************************************
* 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.@)
*
* Translates the value of a specified key in an inf file into the
......
......@@ -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)
......
......@@ -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);
......
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