Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves a pointer to an IImageList or IImageList2 object that corresponds to the image list's HIMAGELIST handle.
HRESULT HIMAGELIST_QueryInterface(
[in] HIMAGELIST himl,
[in] REFIID riid,
[out] void **ppv
);
[in] himl
Type: HIMAGELIST
The handle to the image list.
[in] riid
Type: REFIID
The identifier of the interface being requested. Normally IID_IImageList or IID_IImageList2.
[out] ppv
Type: void**
When this method returns, contains the address of the interface pointer requested in riid. If the object does not support the interface specified in riid, ppv is NULL.
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |
Library | Comctl32.lib |
DLL | Comctl32.dll |