// wiautil.h
HRESULT wiauGetDrvItemContext(
[in] BYTE *pWiasContext,
[in, out] VOID **ppItemCtx,
[in, out] IWiaDrvItem **ppDrvItem
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiauGetDrvItemContext function gets the driver item context, and optionally, the driver item.
pWiasContext [in]Pointer to a WIA item context.
ppItemCtx [in, out]Pointer to a memory location that receives a pointer to the driver item context.
ppDrvItem [in, out]Optional. Pointer to a memory location that receives a pointer to a driver item. The default value of this parameter is NULL, which means that when this function returns, no change is made to this parameter.
On success, the function returns S_OK. If the function fails, it returns a standard COM error.