wiasGetDrvItem function (wiamdef.h)

The wiasGetDrvItem function retrieves a driver item.

Syntax

HRESULT wiasGetDrvItem(
  [in] BYTE        *pWiasContext,
       IWiaDrvItem **ppIWiaDrvItem
);

Parameters

[in] pWiasContext

Pointer to a WIA item context.

ppIWiaDrvItem

Pointer to a memory location that receives the address of an IWiaDrvItem Interface.

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

wiasCreateDrvItem

wiasGetRootItem