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.
|
|
//
//
//
#ifndef _OLEDLL_
#define _OLEDLL_
STDAPI RegisterServer(HMODULE hModule, const CLSID &clsid, const char *szFriendlyName, const char *szVerIndProgID, const char *szProgID);
STDAPI UnregisterServer(const CLSID &clsid, const char *szFriendlyName, const char *szVerIndProgID, const char *szProgID);
BOOL GetCLSIDRegValue(const CLSID &clsid, const char *szKey, LPVOID pValue, LPDWORD pcbValue); HRESULT CLSIDToStr(const CLSID &clsid, char *szStr, int cbStr);
HRESULT StrToCLSID(char *szStr, CLSID &clsid, int cbStr);
#endif
|