Verifies that the container structure of an IDList is valid.
BOOL IDListContainerIsConsistent( PCUIDLIST_RELATIVE pidl, UINT cbAlloc );
A pointer to the IDList to validate.
The size, in bytes, of the PIDL specified in the pidl parameter.
TRUE if the IDList structure is valid; otherwise, FALSE.
This function should be used by any code that reads an IDList from a persisted format to ensure that invalid forms do not lead to a security exploit in the code that interprets the IDList. Shell data sources are responsible for validating private sections of the ITEMIDs. Hidden data is validated by the functions that interpret that data.
|Header||shlobj_core.h (include Shlobj.h)|