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.

19 lines
493 B

  1. #ifndef _validate_h_
  2. #define _validate_h_
  3. class CValidate
  4. {
  5. public:
  6. //
  7. // Validation functions are static. They are shared by newcondlg and property sheet
  8. //
  9. static BOOL Validate(HWND hDlg, HINSTANCE hInst);
  10. static int ValidateUserName(HWND hwnd, HINSTANCE hInst, TCHAR *szDesc);
  11. static BOOL IsValidUserName(TCHAR *szDesc);
  12. static int ValidateParams(HWND hDlg, HINSTANCE hInst, TCHAR *szDesc, BOOL bServer=FALSE);
  13. };
  14. #endif //_validate_h_