Export (0) Print
Expand All

IDXDCLock Interface

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.

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.

IDXDCLock Members

GetDC Retrieves the current DC.


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.

Interface Information

Stock Implementation dxtrans.dll
Custom Implementation No
Inherits from IUnknown
Header and IDL files dxtrans.h, dxtrans.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Community Additions

© 2014 Microsoft