// wiamindr_lh.h
typedef struct _WIAS_DOWN_SAMPLE_INFO {
ULONG ulOriginalWidth;
ULONG ulOriginalHeight;
ULONG ulBitsPerPixel;
ULONG ulXRes;
ULONG ulYRes;
ULONG ulDownSampledWidth;
ULONG ulDownSampledHeight;
ULONG ulActualSize;
ULONG ulDestBufSize;
ULONG ulSrcBufSize;
BYTE *pSrcBuffer;
BYTE *pDestBuffer;
} WIAS_DOWN_SAMPLE_INFO, *PWIAS_DOWN_SAMPLE_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
The WIAS_DOWN_SAMPLE_INFO structure stores information used by the downsampling helper function, wiasDownSampleBuffer.
ulOriginalWidthSpecifies the width, in pixels, of the input data.
ulOriginalHeightSpecifies the height, in pixels, of the input data.
ulBitsPerPixelSpecifies the number of bits per pixel of the input data.
ulXResSpecifies the horizontal resolution of the input data.
ulYResSpecifies the vertical resolution of the input data.
ulDownSampledWidthSpecifies the width, in pixels, of the output data.
ulDownSampledHeightSpecifies the width, in pixels, of the output data.
ulActualSizeSpecifies the number of bytes placed in the destination buffer.
ulDestBufSizeSpecifies the size, in bytes, of the destination buffer.
ulSrcBufSizeSpecifies the size, in bytes, of the source buffer.
pSrcBufferPoints to the source buffer.
pDestBufferPoints to the destination buffer.