No description available.
The SetPixelWindow function sets the image area to be scanned.
pScanInfo [in, out]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.
xSpecifies the horizontal position value for the left side of the selection rectangle in pixels.
ySpecifies the vertical position value for the top of the selection rectangle in pixels.
xExtentSpecifies the width of the selection rectangle in pixels.
yExtentSpecifies 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.