// wiamdef.h
HRESULT wiasSendEndOfPage(
[in] BYTE *pWiasContext,
LONG lPageCount,
[in, out] PMINIDRV_TRANSFER_CONTEXT pmdtc
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiasSendEndOfPage function calls the client callback routine during a data transfer, sending the current total page count.
pWiasContext [in]Pointer to a WIA item context.
lPageCountSpecifies the total page count.
pmdtc [in, out]Pointer to a MINIDRV_TRANSFER_CONTEXT structure.
On success, the function returns S_OK. If the function fails, it returns a standard COM error or one of the WIA_ERROR_XXX errors (described in the Microsoft Windows SDK documentation).