[This is preliminary documentation and subject to change.]
The GetIcon method retrieves the file name of the specified icon associated with the item.
HRESULT GetIcon (
long iIconNumber,
BSTR* pstrIconName
);
Returns an HRESULT indicating success or failure. If the method succeeds it returns S_OK. Otherwise it returns an error code. For specific error code values see Winerror.h.
Icons of the type retrieved by GetIcon represent additional information about the broadcast, such as its rating and pay-per-view status and whether it has closed captioning.
Windows NT: Unsupported.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Import Library: User-defined.
Unicode: Yes.