Bewerken

Delen via


wiasSendEndOfPage function (wiamdef.h)

The wiasSendEndOfPage function calls the client callback routine during a data transfer, sending the current total page count.

Syntax

HRESULT wiasSendEndOfPage(
  [in]      BYTE                      *pWiasContext,
            LONG                      lPageCount,
  [in, out] PMINIDRV_TRANSFER_CONTEXT pmdtc
);

Parameters

[in] pWiasContext

Pointer to a WIA item context.

lPageCount

Specifies the total page count.

[in, out] pmdtc

Pointer to a MINIDRV_TRANSFER_CONTEXT structure.

Return value

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).

Requirements

Requirement Value
Minimum supported client Available in Microsoft Windows Me and in Windows XP and later versions of the Windows operating systems.
Target Platform Desktop
Header wiamdef.h (include Wiamdef.h)
Library Wiaservc.lib
DLL Wiaservc.dll

See also

MINIDRV_TRANSFER_CONTEXT