2025-04-27 07:49:33 -04:00

52 lines
1.5 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// Author: DebiM
// Date: September 1996
//
// File: csuser.cxx
//
// Maintains a list of class containers per User SID.
// Looks up this list for every IClassAccess call from OLE32/SCM.
//
//
//---------------------------------------------------------------------
//
// Link list structure for User Profiles Seen
//
typedef struct tagUSERPROFILE
{
PSID pCachedSid;
PCLASSCONTAINER *pUserStoreList;
DWORD cUserStoreCount;
tagUSERPROFILE *pNextUser;
} USERPROFILE;
DWORD
OpenUserRegKey(
IN PSID pSid,
IN WCHAR * pwszSubKey,
OUT HKEY * phKey
);
HRESULT GetUserSid(PSID *ppUserSid, UINT *pCallType);
PCLASSCONTAINER
GetClassStore (LPOLESTR pszPath);
HRESULT GetPerUserClassStore(
LPOLESTR pszClassStorePath,
PSID pSid,
UINT CallType,
LPOLESTR **ppStoreList,
DWORD *pcStores);
HRESULT GetUserClassStores(
LPOLESTR pszClassStorePath,
PCLASSCONTAINER **ppStoreList,
DWORD *pcStores,
BOOL *pfCache,
PSID *ppUserSid);