INapEnforcementClientConnection::SetFlags method

The INapEnforcementClientConnection::SetFlags method is used to differentiate first-time responses from responses due to SoHRequests cached by the enforcers.

Syntax


HRESULT SetFlags(
  [in]  UINT8 flags
);

Parameters

flags [in]

Flags that determines if the SoHResponse is due to a cached SoHRequest. If flags has a value of freshSoHRequest, it is a new request; otherwise it is a cached request.

Return value

Other COM-specific error codes also may be returned.

Return codeDescription
S_OK

Operation succeeded.

E_ACCESSDENIED

Permissions error, access denied.

E_OUTOFMEMORY

System resource limit, could not perform the operation.

 

Remarks

This value is set by the NapAgent.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

NapEnforcementClient.h

IDL

NapEnforcementClient.idl

DLL

Qagent.dll

See also

INapEnforcementClientConnection

 

 

Community Additions

ADD
Show:
© 2014 Microsoft