INapEnforcementClientConnection::SetMaxSize method
Note
The Network Access Protection platform is not available starting with Windows 10
The INapEnforcementClientConnection::SetMaxSize method sets the maximum size of the SoH packet for this client.
Syntax
HRESULT SetMaxSize(
[in] ProtocolMaxSize maxSize
);
Parameters
-
maxSize [in]
-
A ProtocolMaxSize structure that indicates the maximum size, in bytes, of the SoH packet.
Return value
Other COM-specific error codes also may be returned.
Return code | Description |
---|---|
|
Operation succeeded. |
|
Permissions error, access denied. |
|
System resource limit, could not perform the operation. |
Remarks
This value is set by the enforcement client.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
IDL |
|
DLL |
|