Bewerken

Delen via


wiasGetRootItem function (wiamdef.h)

The wiasGetRootItem function retrieves the root item context of a specified WIA item.

Syntax

HRESULT wiasGetRootItem(
  [in]  BYTE *pWiasContext,
  [out] BYTE **ppWiasContext
);

Parameters

[in] pWiasContext

Pointer to a WIA item context.

[out] ppWiasContext

Pointer to a memory location that receives the address of the WIA item's root item 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

See also

wiasGetDrvItem