Source code of Windows XP (NT5)
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.

39 lines
786 B

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