wiasGetChildrenContexts function

The wiasGetChildrenContexts function retrieves an array of item contexts belonging to the current item's children.

Syntax

HRESULT wiasGetChildrenContexts(
  BYTE  *pParentContext,
  ULONG *pulNumChildren,
  BYTE  ***pppChildren
);

Parameters

pParentContext

Pointer to the parent item.

pulNumChildren

Pointer to a memory location that receives the number of children contexts.

pppChildren

Pointer to a memory location that points to an array whose elements are addresses of IWiaItem objects. Each IWiaItem object represents one child context.

Return value

On success, the function returns S_OK.

If the function fails, it returns a standard COM error or one of the WIA error codes.

Requirements

   
Target Platform Desktop
Header wiamdef.h (include Wiamdef.h)
Library Wiaservc.lib
DLL Wiaservc.dll