NETLOGON_INFO_2 structure (lmaccess.h)

The NETLOGON_INFO_2 structure defines a level-2 control query response from a domain controller.

Syntax

typedef struct _NETLOGON_INFO_2 {
  DWORD          netlog2_flags;
  NET_API_STATUS netlog2_pdc_connection_status;
#if ...
  wchar_t        *netlog2_trusted_dc_name;
#else
  LPWSTR         netlog2_trusted_dc_name;
#endif
  NET_API_STATUS netlog2_tc_connection_status;
} NETLOGON_INFO_2, *PNETLOGON_INFO_2;

Members

netlog2_flags

An integer value that contains one or more of the following control query responses from the DC.

Value Meaning
NETLOGON_REPLICATION_NEEDED
0x00000001
Not supported.
NETLOGON_REPLICATION_IN_PROGRESS
0x00000002
Not supported.
NETLOGON_FULL_SYNC_REPLICATION
0x00000004
Not supported.
NETLOGON_REDO_NEEDED
0x00000008
Not supported.
NETLOGON_HAS_IP
0x00000010
Trusted domain DC has an IP address.
NETLOGON_HAS_TIMESERV
0x00000020
Trusted domain DC runs the Windows Time Service.
NETLOGON_DNS_UPDATE_FAILURE
0x00000040
Last update to the DNS records on the DC failed.
NETLOGON_VERIFY_STATUS_RETURNED
0x00000080
Trust verification status was returned in the netlog2_pdc_connection_status member.

netlog2_pdc_connection_status

An enumerated integer value that contains a status code defined in Lmerr.h, with a value greater than 2100. If NETLOGON_VERIFY_STATUS_RETURNED is set in netlog2_flags, this value represents the trust verification status of all domain members collectively.

netlog2_trusted_dc_name

A marshaled pointer to a string that contains the name of the trusted domain controller.

netlog2_tc_connection_status

An enumerated integer value that contains a status code defined in Lmerr.h, with a value greater than 2100. This code shows the status of the secure channel to the specified trusted DC.

Requirements

   
Header lmaccess.h

See also

I_NetLogonControl2