IDXDCLock interface

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

Members

The IDXDCLock interface inherits from the IUnknown interface. IDXDCLock also has these types of members:

  • Methods

Methods

The IDXDCLock interface has these methods.

Method Description
GetDC

Retrieves the current DC.

 

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.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxtrans.h

IDL

Dxtrans.idl

DLL

Dxtrans.dll