Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.5 KiB

//
// 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);