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.

25 lines
761 B

  1. //Copyright (c) Microsoft Corporation. All rights reserved.
  2. #ifndef __ZONE_H
  3. #define __ZONE_H
  4. #define INDEX_SEC_MGR 0
  5. #define INDEX_ZONE_MGR 0
  6. #define PROTOCOL_PREFIX_TELNET L"telnet://"
  7. //changing this from telnet://. It is observer on IE5.0 that unless telnet://server name is given the mapping from url to zone is not succeeding.
  8. #define MIN(x, y) ((x)<(y)?(x):(y))
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. extern int __cdecl IsTargetServerSafeOnProtocol( LPWSTR szServer, LPWSTR szZoneName, DWORD dwZoneNameLen, DWORD *pdwZonePolicy, LPWSTR szProtocol );
  13. extern int __cdecl IsTrustedServer( LPWSTR szServer, LPWSTR szZoneName, DWORD dwZoneNameLen, DWORD *pdwZonePolicy );
  14. #ifdef __cplusplus
  15. }
  16. #endif
  17. #endif // __ZONE_H