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.

55 lines
1.9 KiB

  1. //-------------------------------------------------------------------
  2. //
  3. // FILE: LicCpa.cpp
  4. //
  5. // Summary;
  6. // This file contians applet global defines and stdfuncs externs
  7. //
  8. // History;
  9. // Nov-30-94 MikeMi Created
  10. // Apr-26-95 MikeMi Added Computer name and remoting
  11. // Dec-12-95 JeffParh Added secure certificate support
  12. //
  13. //-------------------------------------------------------------------
  14. #ifndef __LICCPA_HPP__
  15. #define __LICCPA_HPP__
  16. #include "Help.hpp"
  17. const int TEMPSTR_SIZE = 257; // avoid 256 boundary
  18. const int LTEMPSTR_SIZE = 513; // avoid 512 boundary
  19. // Setup Error codes, though currently only internal
  20. //
  21. const int ERR_NONE = 1; // zero has the meaning of cancel or exit
  22. const int ERR_HELPPARAMS = 100;
  23. const int ERR_HWNDPARAM = 101;
  24. const int ERR_SERVICEPARAM = 102;
  25. const int ERR_USERSPARAM = 103;
  26. const int ERR_NUMPARAMS = 104;
  27. const int ERR_CLASSREGFAILED = 105;
  28. const int ERR_INVALIDROUTINE = 106;
  29. const int ERR_INVALIDMODE = 107;
  30. const int ERR_PERMISSIONDENIED = 200;
  31. const int ERR_NOREMOTESERVER = 201;
  32. const int ERR_REGISTRYCORRUPT = 202;
  33. const int ERR_DOWNLEVEL = 210; // target server doesn't support LLS extended RPC
  34. // (i.e., it's running 3.51)
  35. const int ERR_CERTREQFAILED = 211; // the attempt to notify the license service that
  36. // the given product requires a secure certificate failed
  37. const int ERR_CERTREQPARAM = 212; // the string in the "certrequired" argument position
  38. // is unrecognized
  39. extern HINSTANCE g_hinst;
  40. extern UINT PWM_HELP;
  41. extern void LowMemoryDlg();
  42. extern void BadRegDlg( HWND hwndDlg );
  43. extern void CenterDialogToScreen( HWND hwndDlg );
  44. extern void InitStaticWithService( HWND hwndDlg, UINT wID, LPCWSTR pszService );
  45. extern void InitStaticWithService2( HWND hwndDlg, UINT wID, LPCWSTR pszService );
  46. #endif