INapComponentConfig2::IsRemoteConfigSupported method

Note

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

The IsRemoteConfigSupported method is implemented by system health validators (SHVs) to indicate whether remote configuration is supported.

Syntax

HRESULT IsRemoteConfigSupported(
  [out] BOOL  *isSupported,
  [out] UINT8 *remoteConfigType
);

Parameters

isSupported [out]

A pointer to a BOOL that is set to TRUE if the component supports remote configuration, and FALSE if it does not.

remoteConfigType [out]

Indicates the type of remote configuration supported using value from the RemoteConfigurationType enumeration:

Value Meaning
remoteConfigTypeMachine
InvokeUIForMachine is implemented.
remoteConfigTypeConfigBlob
InvokeUIFromConfigBlob is implemented. INapComponentConfig::GetConfig and INapComponentConfig::SetConfig can be called remotely using DCOM.

Return value

Returns S_OK if successful, or one of the standard Windows error codes.

Remarks

If neither InvokeUIForMachine nor InvokeUIFromConfigBlob are implemented, remote configuration of the SHV is not possible.

Requirements

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

See also

INapComponentConfig2