wiauGetDrvItemContext function (wiautil.h)
The wiauGetDrvItemContext function gets the driver item context, and optionally, the driver item.
Syntax
HRESULT wiauGetDrvItemContext(
[in] BYTE *pWiasContext,
[in, out] VOID **ppItemCtx,
[in, out] IWiaDrvItem **ppDrvItem
);
Parameters
[in] pWiasContext
Pointer to a WIA item context.
[in, out] ppItemCtx
Pointer to a memory location that receives a pointer to the driver item context.
[in, out] ppDrvItem
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.
Return value
On success, the function returns S_OK. If the function fails, it returns a standard COM error.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wiautil.h (include Wiautil.h) |