Retrieves the local-system path of the Accelerator icon file.
HRESULT retVal = object.GetIconPath(pbstrIconPath);
The retrieved icon-file path.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The Accelerator icon file is always local. If a Web resource is specified when the Accelerator is installed, the icon must be downloaded to the local Windows Internet Explorer service cache before it can be used. If an icon cannot be downloaded, it is scheduled to be downloaded later.
If the icon file path begins with an at symbol (
@), the path is assumed to be a resource identifier of the following form:
where path is the full path to the resource module and ID is a hardware-independent icon-resource ID.