Getting property value:
Automation:
HICON
value = obj.
Icon;
Native (C++):
HRESULT
get_
Icon
(
[out, retval]
HICON *
pVal)
;
Parameters
pVal
Handle for device icon.
Return Value
Automation:
Handle for device icon.
You can use it like this:
Native:
S_OK or standard OLE error code.