UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wiamicro.SetPixelWindow |
SetPixelWindow function (wiamicro.h) |
The SetPixelWindow function sets the image area to be scanned. |
image\setpixelwindow.htm |
image |
05/03/2018 |
|
MicroDrv_45542a77-e61e-49ba-a9f3-df7d8dd57402.xml, SetPixelWindow, SetPixelWindow function [Imaging Devices], image.setpixelwindow, wiamicro/SetPixelWindow |
wiamicro.h |
Wiamicro.h |
Desktop |
Windows |
|
|
|
|
|
The SetPixelWindow function sets the image area to be scanned.
Points to a SCANINFO structure that represents the current state of the device. This is stored by the WIA Flatbed driver to guarantee synchronized settings between the microdriver and the WIA Flatbed driver.
Specifies the horizontal position value for the left side of the selection rectangle in pixels.
Specifies the vertical position value for the top of the selection rectangle in pixels.
Specifies the width of the selection rectangle in pixels.
Specifies the height of the selection rectangle in pixels.
If the function succeeds, it returns S_OK. If the function fails, it returns a standard COM error code.
In this function, the microdriver should set up the Window member of the SCANINFO structure, making any device-specific adjustments that are necessary.