// wiamdef.h
HRESULT wiasGetDrvItem(
[in] BYTE *pWiasContext,
IWiaDrvItem **ppIWiaDrvItem
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasGetDrvItem function retrieves a driver item.
pWiasContext [in]Pointer to a WIA item context.
ppIWiaDrvItemPointer to a memory location that receives the address of an IWiaDrvItem Interface.
On success, the function returns S_OK.
If the function fails, it returns a standard COM error or one of the WIA error codes.