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.

33 lines
1.6 KiB

  1. //================================================================================
  2. // Copyright 1997 (C) Microsoft Corporation
  3. // Author: RameshV
  4. // Description: This is the structure of the server information passed to
  5. // user via dhcpds.dll.
  6. //================================================================================
  7. #ifndef _ST_SRVR_H_
  8. #define _ST_SRVR_H_
  9. //BeginExport(typedef)
  10. typedef struct _DHCPDS_SERVER {
  11. DWORD Version; // version of this structure -- currently zero
  12. LPWSTR ServerName; // [DNS?] unique name for server
  13. DWORD ServerAddress; // ip address of server
  14. DWORD Flags; // additional info -- state
  15. DWORD State; // not used ...
  16. LPWSTR DsLocation; // ADsPath to server object
  17. DWORD DsLocType; // path relative? absolute? diff srvr?
  18. } DHCPDS_SERVER, *LPDHCPDS_SERVER, *PDHCPDS_SERVER;
  19. typedef struct _DHCPDS_SERVERS {
  20. DWORD Flags; // not used currently.
  21. DWORD NumElements; // # of elements in array
  22. LPDHCPDS_SERVER Servers; // array of server info
  23. } DHCPDS_SERVERS, *LPDHCPDS_SERVERS, *PDHCPDS_SERVERS;
  24. //EndExport(typedef)
  25. #endif _ST_SRVR_H_
  26. //================================================================================
  27. // end of file
  28. //================================================================================