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.

37 lines
904 B

  1. //
  2. // regimx.h
  3. //
  4. #ifndef REGIMX_H
  5. #define REGIMX_H
  6. typedef struct tag_REGTIPLANGPROFILE {
  7. //
  8. // langid
  9. //
  10. // The langid value cane be one of followings.
  11. //
  12. // 1. complete lang id.
  13. // the combination of SUBLANGID and MAINLANGID.
  14. //
  15. // 2. just main lang id.
  16. // Just MAINLANGID and set SUBLANGID as 0.
  17. // Then this profile is avaible for all langids that match with
  18. // main langid.
  19. //
  20. // 3. -1
  21. // This profile is avaible on any language.
  22. //
  23. LANGID langid;
  24. const GUID *pguidProfile;
  25. WCHAR szProfile[128];
  26. WCHAR szIconFile[32];
  27. ULONG uIconIndex;
  28. ULONG uDisplayDescResIndex;
  29. } REGTIPLANGPROFILE;
  30. BOOL RegisterTIP(HINSTANCE hInst, REFCLSID clsid, WCHAR *pwszDesc, const REGTIPLANGPROFILE *plp);
  31. BOOL UnregisterTIP(REFCLSID rclsid);
  32. #endif // REGIMX_H