Home COM GDI+ WebBrowser Data Access

IDXDCLock Interface

 

IID_IDXDClock

{0F619456-CF39-11D1-905E-00C04FD9189D}

 

 

The IDXDCLock interface is used to lock a surface and to obtain a device context (DC) that can be used with Microsoft Windows Graphics Device Interface (GDI) calls.

 

Remarks

You can use IDXDCLock by calling the IDXSurface::LockSurface method and by specifying IID_IDXDCLock as the desired interface, or by calling the IDXSurface::LockSurfaceDC method. When the IDXDCLock interface is finally released, the underlying GDI DC is released.

IDXDCLock can be used by any transform that enables you to specify the desired output bounds.

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IDXCLock Members

Description

GetDC

Retrieves the current DC.

   

GetGenerationId

 

FUNCTION IDXDCLock_GetDC ( _
  BYVAL
pthis AS DWORD PTR _

  ) AS DWORD
 

  LOCAL HRESULT AS LONG
  CALL DWORD
@@pthis[3] USING IDXDCLock_GetDC (pthis) TO HRESULT
  FUNCTION =
HRESULT

END FUNCTION
 

 

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