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.

35 lines
786 B

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. //
  3. //
  4. //
  5. #ifndef _OLEDLL_
  6. #define _OLEDLL_
  7. STDAPI
  8. RegisterServer(HMODULE hModule,
  9. const CLSID &clsid,
  10. const TCHAR *szFriendlyName,
  11. const TCHAR *szVerIndProgID,
  12. const TCHAR *szProgID);
  13. STDAPI
  14. UnregisterServer(const CLSID &clsid,
  15. const TCHAR *szFriendlyName,
  16. const TCHAR *szVerIndProgID,
  17. const TCHAR *szProgID);
  18. BOOL
  19. GetCLSIDRegValue(const CLSID &clsid,
  20. const TCHAR *szKey,
  21. LPVOID pValue,
  22. LPDWORD pcbValue);
  23. HRESULT CLSIDToStr(const CLSID &clsid,
  24. TCHAR *szStr,
  25. int cbStr);
  26. HRESULT StrToCLSID(TCHAR *szStr,
  27. CLSID &clsid,
  28. int cbStr);
  29. #endif