IPrintReadStream::ReadBytes method

The ReadBytes method reads a number of bytes into a buffer.

Syntax

HRESULT ReadBytes(
  void  *pvBuffer,
  ULONG cbRequested,
  ULONG *pcbRead,
  BOOL  *pbEndOfFile
);

Parameters

pvBuffer

A pointer to the buffer that the bytes will be read into..

cbRequested

The number of bytes that are requested for the read.

pcbRead

A pointer to the number of bytes actually read.

pbEndOfFile

A pointer to a BOOL value that indicates whether the end of file (EOF) was read.

Return Value

ReadBytes returns an HRESULT value.

Requirements

   
Target Platform Desktop
Header filterpipeline.h