INapComponentInfo::GetIcon method
Note
The Network Access Protection platform is not available starting with Windows 10
The INapComponentInfo::GetIcon callback method is used by the NAP System to get the icon of a health client.
HRESULT GetIcon(
[out] CountedString **dllFilePath,
[out] UINT32 *iconResourceId
);
-
dllFilePath [out]
-
A pointer to a pointer to a CountedString used to return the file path of the DLL that contains the icon.
-
iconResourceId [out]
-
A pointer to value used to return the resource ID of the icon to be used.
Return one of these error codes based on the result of this operation.
Return code | Description |
---|---|
|
The operation is successful. |
|
Permissions error, access denied. |
|
System resource limit, could not perform the operation. |
Icons should be localized according to the calling thread's language-id.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
IDL |
|