IPrintWriteStream::WriteBytes method (filterpipeline.h)

The WriteBytes method writes a specified number of bytes to a stream.

Syntax

HRESULT WriteBytes(
  [in]  const void *pvBuffer,
  [in]  ULONG      cbBuffer,
  [out] ULONG      *pcbWritten
);

Parameters

[in] pvBuffer

A pointer to the buffer that the bytes will be written from.

[in] cbBuffer

The size of the buffer to be read from.

[out] pcbWritten

A pointer to the number of bytes actually written.

Return value

WriteBytes returns an HRESULT value.

Requirements

Requirement Value
Target Platform Desktop
Header filterpipeline.h