INapServerInfo::GetNapServerInfo method

Note

The Network Access Protection platform is not available starting with Windows 10

The INapServerInfo::GetNapServerInfo method retrieves information about the NAP server.

Syntax

HRESULT GetNapServerInfo(
  [out] CountedString **serverName,
  [out] CountedString **serverDescription,
  [out] CountedString **protocolVersion
);

Parameters

serverName [out]

A pointer to a pointer to a CountedString structure that contains the server name.

serverDescription [out]

A pointer to a pointer to a CountedString structure that contains the server description.

protocolVersion [out]

A pointer to a pointer to a CountedString structure that contains the protocol version.

Return value

Other COM-specific error codes also may be returned.

Return code Description
S_OK
Operation succeeded.
E_ACCESSDENIED
Permissions error, access denied.
E_OUTOFMEMORY
System resource limit, could not perform the operation.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
NapServerManagement.h
IDL
NapServerManagement.idl
DLL
Qsvrmgmt.dll

See also

INapServerInfo

CountedString