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.

28 lines
1.4 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // FILE : FxsValid.h //
  3. // //
  4. // DESCRIPTION : Fax Validity checks. //
  5. // //
  6. // AUTHOR : yossg //
  7. // //
  8. // HISTORY : //
  9. // Mar 29 2000 yossg Create //
  10. // Jul 4 2000 yossg Add IsLocalServerName //
  11. // //
  12. // Copyright (C) 2000 Microsoft Corporation All Rights Reserved //
  13. /////////////////////////////////////////////////////////////////////////////
  14. #ifndef H_FXSVALID_MMC_H
  15. #define H_FXSVALID_MMC_H
  16. BOOL IsNotEmptyString(CComBSTR bstrGenStr);
  17. BOOL IsValidServerNameString(CComBSTR bstrServerName, UINT * puIds, BOOL fIsDNSName = FALSE);
  18. BOOL IsValidPortNumber(CComBSTR bstrPort, DWORD * pdwPortVal, UINT * puIds);
  19. BOOL IsLocalServerName(IN LPCTSTR lpszComputer);
  20. #endif //H_FXSVALID_MMC_H