IShellItemInit
Copies the IShellItem vtable function pointers to global variables that are prototyped to the appropriate function. This allows for using Invoke in the other functions. Alternatively the calls to the functions can be made by referencing them via the IShellItem structure
IShellItemInit PROTO pIShellItem:DWORD
Parameters
pIShellItem- a IShellItem pointer.
Returns
TRUE if successful, or FALSE otherwise.
Notes
Unlike the IFileOpenDialogInit and IFileSaveDialogInit function, this function does not create the IShellItem and pass back the reference to the parameter specified.
This function requires that the IShellItem be already created, and it merely copies the vtable function pointers to global variables for convenience.
In most cases you probably should just use the reference of the IShellItem functions via the IShellItem structure instead of using this function and the global variables.
See Also
IFileOpenDialogInit, IFileSaveDialogInit, IFileDialogInit, IShellItemArrayInit