PFNASYNCICONTASKCALLBACK function pointer

[This function is not supported as of Windows Vista.]

Defines the prototype for the callback function used by SHMapIDListToImageListIndexAsync.

Syntax

typedef void ( CALLBACK *PFNASYNCICONTASKBALLBACK)(
   LPCITEMIDLIST pidl,
   LPVOID        pvData,
   LPVOID        pvHint,
   int           iIconIndex,
   int           iOpenIconIndex
);

Parameters

  • pidl
    Type: LPCITEMIDLIST

    A pointer to an ITEMIDLIST structure.

  • pvData
    Type: LPVOID

    A pointer to user data.

  • pvHint
    Type: LPVOID

    A pointer to information about user data.

  • iIconIndex
    Type: int

    The icon index for the ITEMIDLIST structure.

  • iOpenIconIndex
    Type: int

    The icon index for the ITEMIDLIST structure if the icon can be extracted with GIL_OPENICON.

Return value

This function pointer does not return a value.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Shlobj.h