IPrinterScriptableStream::Seek method

Sets the seek pointer.

Syntax

HRESULT Seek(
  LONG        lOffset,
  STREAM_SEEK streamSeek,
  LONG        *plPosition
);

Parameters

lOffset

The displacement to be added to the location indicated by the streamSeek parameter.

streamSeek

The origin for the displacement specified lOffset.

plPosition

The new pointer position.

Return Value

This method returns an HRESULT value.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Desktop
Header printerextension.h

See Also

IPrinterScriptableStream