Export (0) Print
Expand All

IDXSurfaceFactory 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 IDXSurfaceFactory interface provides methods to create and load data into DXSurface data objects.

IDXSurfaceFactory Members

BitBlt Copies samples from one DXSurface to another.
CopySurfaceToNewFormat Copies one surface to another and changes its pixel format.
CreateD3DRMTexture Not supported.
CreateFromDDSurface Creates a DXSurface that contains a specified DirectDrawSurface object.
CreateSurface Creates a DXSurface object of the specified size and format.
LoadImage Binds the specified file name or URL and returns a DXSurface containing the image data.
LoadImageFromStream Loads an image from a stream and returns a DXSurface.

Remarks

The most commonly used method of this interface is IDXSurfaceFactory::CreateSurface, which creates an uninitialized DXSurface of a specified size and pixel format. The IDXSurfaceFactory::LoadImage method is also useful. This method translates an image from a common image format, such as .gif, .jpg, and .bmp, and stores the result in a new DXSurface.

This interface is exposed by the IDXTransformFactory interface. The recommended way to expose the interface is by using the IServiceProvider::QueryService method on the IDXTransformFactory with SID_DXSurfaceFactory as the service ID. You can create procedural surfaces by specifying the class identifier (CLSID) of the procedural surface for the pFormatID parameter and by using the IDXSurfaceFactory::CreateSurface method.

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

ADD
Show:
© 2014 Microsoft