Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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 |
|
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today