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.

53 lines
1.4 KiB

  1. //-------------------------------------------------------------------
  2. //
  3. // FILE: PriDlgs.hpp
  4. //
  5. // Summary;
  6. // This file contians the definitions of Primary Dialogs functions
  7. //
  8. // Entry Points;
  9. // PerSeatSetupDialog
  10. // SetupDialog
  11. // CpaDialog
  12. // UpdateReg
  13. //
  14. // History;
  15. // Nov-30-94 MikeMi Created
  16. // Apr-26-95 MikeMi Added Computer name and remoting
  17. //
  18. //-------------------------------------------------------------------
  19. #ifndef __PRIDLGS_HPP__
  20. #define __PRIDLGS_HPP__
  21. #include "CLicReg.hpp"
  22. // Used to pass information from the Setup entry point to the Setup Dialog
  23. //
  24. typedef struct tagSETUPDLGPARAM
  25. {
  26. LPWSTR pszComputer;
  27. LPWSTR pszService;
  28. LPWSTR pszFamilyDisplayName;
  29. LPWSTR pszDisplayName;
  30. LPWSTR pszHelpFile;
  31. DWORD dwHelpContext;
  32. DWORD dwHCPerServer;
  33. DWORD dwHCPerSeat;
  34. BOOL fNoExit;
  35. } SETUPDLGPARAM, *PSETUPDLGPARAM;
  36. extern INT AccessOk( HWND hDlg, LONG lrc, BOOL fCPCall );
  37. extern INT_PTR PerSeatSetupDialog( HWND hwndParent, SETUPDLGPARAM& dlgParam );
  38. extern INT_PTR SetupDialog( HWND hwndParent, SETUPDLGPARAM& dlgParam );
  39. extern INT_PTR CpaDialog( HWND hwndParent );
  40. extern int UpdateReg( LPCWSTR pszComputer,
  41. LPCWSTR pszService,
  42. LPCWSTR pszFamilyDisplayName,
  43. LPCWSTR pszDisplayName,
  44. LICENSE_MODE lm,
  45. DWORD dwUsers );
  46. int ServiceSecuritySet( LPWSTR pszComputer, LPWSTR pszDisplayName );
  47. #endif