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.
51 lines
1.9 KiB
51 lines
1.9 KiB
//+------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1996-1999
|
|
//
|
|
// File: cstore.h
|
|
//
|
|
// Header for class store
|
|
//-------------------------------------------------------------------------
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "cs.h"
|
|
|
|
void GetDefaultPlatform(CSPLATFORM *pPlatform,
|
|
BOOL fArchitectureOverride = FALSE ,
|
|
LONG OverridingArchitecture = 0);
|
|
|
|
BOOL InitializeClassStore(BOOL fInit);
|
|
void Uninitialize();
|
|
|
|
STDAPI CsGetClassAccess(IClassAccess ** ppIClassAccess);
|
|
|
|
STDAPI CsEnumApps(LPOLESTR pszPackageName,
|
|
GUID *pCategory,
|
|
ULONGLONG *pLastUsn,
|
|
DWORD dwAppFlags,
|
|
IEnumPackage **ppIEnumPackage);
|
|
|
|
STDAPI CsGetAppInfo(uCLSSPEC * pclsspec,
|
|
QUERYCONTEXT * pQueryContext,
|
|
PACKAGEDISPINFO * pPackageInfo);
|
|
|
|
STDAPI CsCreateClassStore(LPWSTR szServerName, LPWSTR szPath);
|
|
STDAPI CsGetClassStore(LPWSTR szPath, void **ppIClassAdmin);
|
|
STDAPI CsServerGetClassStore(LPWSTR szServerName, LPWSTR szPath, void **ppIClassAdmin);
|
|
STDAPI CsDeleteClassStore(LPWSTR szPath);
|
|
STDAPI CsGetAppCategories(APPCATEGORYINFOLIST *pAppCategoryList);
|
|
STDAPI CsRegisterAppCategory(APPCATEGORYINFO *pAppCategory);
|
|
STDAPI CsUnregisterAppCategory (GUID *pAppCategoryId);
|
|
STDAPI CsGetClassStorePath(LPOLESTR DSProfilePath, LPOLESTR *pCSPath);
|
|
STDAPI CsSetClassStorePath(LPOLESTR DSProfilePath, LPOLESTR szCSPath);
|
|
STDAPI ReleasePackageInfo(PACKAGEDISPINFO *pPackageInfo);
|
|
STDAPI ReleaseInstallInfo(INSTALLINFO *pInstallInfo);
|
|
STDAPI ReleasePackageDetail(PACKAGEDETAIL *pPackageDetail);
|
|
STDAPI ReleaseAppCategoryInfoList(APPCATEGORYINFOLIST *pAppCategoryInfoList);
|
|
void CsSetOptions( DWORD dwOptions );
|
|
|
|
const DWORD CsOption_AdminTool = 0x1;
|
|
|