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

#ifndef _validate_h_
#define _validate_h_
class CValidate
{
public:
//
// Validation functions are static. They are shared by newcondlg and property sheet
//
static BOOL Validate(HWND hDlg, HINSTANCE hInst);
static int ValidateUserName(HWND hwnd, HINSTANCE hInst, TCHAR *szDesc);
static BOOL IsValidUserName(TCHAR *szDesc);
static int ValidateParams(HWND hDlg, HINSTANCE hInst, TCHAR *szDesc, BOOL bServer=FALSE);
};
#endif //_validate_h_