Home COM GDI+ WebBrowser Data Access

ICommandStream Interface

 

IID_ICommandStream

{0C733ABF-2A1C-11CE-ADE5-00AA0044773D}

 

 

ICommandStream, while similar to ICommandText, passes a command as a stream object rather than as a string. ICommandStream is not a mandatory interface.

 

Documentation: ICommandStream

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

ICommandStream Methods

Description

GetCommandStream

Returns the command stream object set by the last call to ICommandStream::SetCommandStream.

SetCommandStream

Sets the command stream object, replacing the existing stream object.

 

GetCommandStream

 

FUNCTION ICommandStream_GetCommandStream ( _
  BYVAL pthis AS DWORD PTR _

, BYREF ppid AS GUID _

, BYREF pguidDialect AS GUID _

, BYREF ppCommandStream AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING ICommandStream_GetCommandStream (pthis, ppid, pguidDialect, ppCommandStream) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

SetCommandStream

 

FUNCTION ICommandStream_SetCommandStream ( _
  BYVAL pthis AS DWORD PTR _

, BYREF riid AS GUID _

, BYREF rguidDialect AS GUID _

, BYVAL pCommandStream AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING ICommandStream_SetCommandStream (pthis, riid, rguidDialect, pCommandStream) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Saturday, 11 November 2006 03:32:06 +0100