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.

44 lines
1010 B

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