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.

34 lines
727 B

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