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.

20 lines
618 B

  1. //
  2. // imeutil.h
  3. //
  4. #ifndef REGSVR_H
  5. #define REGSVR_H
  6. #include <windows.h>
  7. #include <advpub.h>
  8. // Issue: calling convention
  9. #define CLSID_STRLEN 38 // strlen("{xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx}")
  10. BOOL CLSIDToStringA(REFGUID refGUID, char *pchA);
  11. BOOL StringAToCLSID(char *pchA, GUID *pGUID);
  12. BOOL RegisterServer(REFCLSID clsid, LPCTSTR pszDesc, LPCTSTR pszPath, LPCTSTR pszModel, LPCTSTR pszSoftwareKey);
  13. BOOL RegisterServerW(REFCLSID clsid, const WCHAR *pszDesc, const WCHAR *pszPath, const WCHAR *pszModel, const WCHAR *pszSoftwareKey, const WCHAR *pszMenuTextPUI);
  14. #endif // REGSVR_H