wiasGetItemType function (wiamdef.h)

The wiasGetItemType function indicates the item type.

Syntax

HRESULT wiasGetItemType(
  [in] BYTE *pWiasContext,
       LONG *plType
);

Parameters

[in] pWiasContext

Pointer to a WIA item context.

plType

Pointer to a memory location that receives a value indicating the type of the item.

For more information, see WIA Item Type Flags.

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