wiasGetChildrenContexts function (wiamdef.h)

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

Syntax

HRESULT wiasGetChildrenContexts(
  [in]  BYTE  *pParentContext,
  [out] ULONG *pulNumChildren,
  [out] BYTE  ***pppChildren
);

Parameters

[in] pParentContext

Pointer to the parent item.

[out] pulNumChildren

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

[out] 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

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