Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Note
The Network Access Protection platform is not available starting with Windows 10
The INapEnforcementClientBinding::CreateConnection factory method is used by enforcers to create connection objects.
Syntax
HRESULT CreateConnection(
[out] INapEnforcementClientConnection **connection
);
Parameters
-
connection [out]
-
A COM pointer to a new INapEnforcementClientConnection interface returned by the NAP system.
Return value
Other COM-specific error codes also may be returned.
| Return code | Description |
|---|---|
|
The operation is successful. |
|
Permissions error, access denied. |
|
System resource limit, could not perform the operation. |
Remarks
The enforcement client must call the INapEnforcementClientBinding::Initialize method before calling this or any other method of the INapEnforcementClientBinding interface.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2008 [desktop apps only] |
| Header |
|
| IDL |
|
| DLL |
|