INapSoHProcessor::Initialize method

Note

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

The INapSoHProcessor::Initialize method initializes the protocol packet and SoH processor system. This method must be called exactly once.

Syntax

HRESULT Initialize(
  [in]  const SoH                  *soh,
  [in]        BOOL                 isRequest,
  [out]       SystemHealthEntityId *id
);

Parameters

soh [in]

A pointer to the SoH packet to be processed.

isRequest [in]

A BOOL that is TRUE if the packet is an SoHRequest and FALSE if it is an SoHResponse.

id [out]

A unique SystemHealthEntityId that contains the ID of the SHA or SHV that constructed the packet.

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.
NAP_E_INVALID_PACKET
The SoH packet is invalid.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
NapProtocol.h
IDL
NapProtocol.idl
DLL
Qutil.dll

See also

INapSoHProcessor