Purpose
Get the index in the image list of the specified icon.
Syntax
CWBAPI unsigned int WINAPI cwbUN_GetIconIndex(
LPCITEMIDLIST pidl,
UINT uFlags,
int* piIndex
);
Parameters
- LPCITEMIDLIST pidl - input
- Pointer to the ITEMIDLIST (item identifier list) structure that is used
to identify the icon to be referenced.
- UINT uFlags - input
- Specification of the type of icon index to retrieve (defined above). The
following flag types are allowed:
- int * piIndex - output
- Address of the integer that will receive the icon index.
Return Codes
The following list shows common return values:
- CWB_OK
- Successful completion.
- CWBUN_INVALID_FLAG_VALUE
- Not a valid supported flag value.
Usage
None