// wiamdef.h
HRESULT wiasGetChildrenContexts(
[in] BYTE *pParentContext,
[out] ULONG *pulNumChildren,
[out] BYTE ***pppChildren
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasGetChildrenContexts function retrieves an array of item contexts belonging to the current item's children.
pParentContext [in]Pointer to the parent item.
pulNumChildren [out]Pointer to a memory location that receives the number of children contexts.
pppChildren [out]Pointer to a memory location that points to an array whose elements are addresses of IWiaItem objects. Each IWiaItem object represents one child context.
On success, the function returns S_OK.
If the function fails, it returns a standard COM error or one of the WIA error codes.