HIMAGELIST_QueryInterface function
Retrieves a pointer to an IImageList or IImageList2 object that corresponds to the image list's HIMAGELIST handle.
Syntax
HRESULT HIMAGELIST_QueryInterface(
_In_ HIMAGELIST himl,
_In_ REFIID riid,
_Out_ void **ppv
);
Parameters
- himl [in]
-
Type: HIMAGELIST
The handle to the image list.
- riid [in]
-
Type: REFIID
The identifier of the interface being requested. Normally IID_IImageList or IID_IImageList2.
- ppv [out]
-
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.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
Show: