INapClientManagement::GetRegisteredSystemHealthAgents method
Note
The Network Access Protection platform is not available starting with Windows 10
The GetRegisteredSystemHealthAgents method retrieves information about the registered SHAs.
Syntax
HRESULT GetRegisteredSystemHealthAgents(
[out] SystemHealthEntityCount *count,
[out] NapComponentRegistrationInfo **agents
) const;
Parameters
-
count [out]
-
A pointer to a SystemHealthEntityCount that describes the number of registered SHAs.
-
agents [out]
-
A pointer to an array of NapComponentRegistrationInfo structures that describe the registered SHAs.
Return value
The method returns an HRESULT status code including but not limited to one of the following.
Return code | Description |
---|---|
|
Operation successful. |
|
Permissions error, access denied. |
|
System resource limit, could not perform the operation. |
|
The NapAgent is not running. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
IDL |
|
DLL |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for