Home COM GDI+ WebBrowser Data Access

IDXARGBSurfaceInit Interface

 

IID_IDXARGBSurfaceInit

{9EA3B63A-C37D-11d1-905E-00C04FD9189D}

 

 

The IDXARGBSurfaceInit interface initializes a DXSurface object created from a DirectDrawSurface or a buffer.

Remarks

A DXSurface object is usually initialized by IDXSurfaceFactory methods. This should only need to be done directly for custom surface implementations based on application-supplied memory.

This interface derives from the IDXSurfaceInit interface.
 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IDXSurfaceInit Members

Description

InitSurface

Initializes a DXSurface object with the specified volume boundary and format from a Microsoft DirectDraw object.

IDXARGBSurfaceInit Members

Description

InitFromDDSurface

Initializes a DXSurface from an existing DirectDrawSurface.

InitFromRawSurface

Initializes a DXSurface object from a client-created object that supports the IDXRawSurface interface.

 

InitFromDDSurface

 

FUNCTION IDXARGBSurfaceInit_InitFromDDSurface ( _
  BYVAL
pthis AS DWORD PTR _
, BYVAL
pDDrawSurface AS DWORD PTR _
, BYREF
pFormatID AS GUID _

, BYVAL dwFlags AS DWORD _
  ) AS LONG

  LOCAL
HRESULT AS LONG
  CALL DWORD
@@pthis[3] USING IDXARGBSurfaceInit_InitFromDDSurface (pthis, ppDDrawSurface, pFormatID, dwFlags) TO HRESULT
  FUNCTION =
HRESULT
 

END FUNCTION
 

 

InitFromRawSurface

 

FUNCTION IDXARGBSurfaceInit_InitFromRawSurface ( _
  BYVAL
pthis AS DWORD PTR _
, BYVAL
pRawSurface AS DWORD PTR _
  ) AS LONG

  LOCAL
HRESULT AS LONG
  CALL DWORD
@@pthis[4] USING IDXARGBSurfaceInit_InitFromRawSurface (pthis, ppDDrawSurface) TO HRESULT
  FUNCTION =
HRESULT
 

END FUNCTION
 

 

Page last updated on Monday, 03 April 2006 19:46:02 +0200