IPrinterScriptableStream::Seek method (printerextension.h)

Sets the seek pointer.

Syntax

HRESULT Seek(
  [in]          LONG        lOffset,
  [in]          STREAM_SEEK streamSeek,
  [out, retval] LONG        *plPosition
);

Parameters

[in] lOffset

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

[in] streamSeek

The origin for the displacement specified lOffset.

[out, retval] plPosition

The new pointer position.

Return value

This method returns an HRESULT value.

Requirements

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

See also

IPrinterScriptableStream