Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDXSurface::GetDirectDrawSurface Method

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.

Retrieves an interface on the underlying IDXSurface::GetDirectDrawSurface object if the DXSurface object is aggregated onto a IDXSurface::GetDirectDrawSurface.


HRESULT GetDirectDrawSurface(
    REFIID riid,
    void **ppSurface


[in] Value that indicates the type of interface to return. This can be any interface ID defined by Microsoft DirectDraw, such as IID_IDirectDrawSurface, IID_IDirectDrawSurface2, or IID_IDirectDrawSurface3, as exposed by the underlying DirectDraw driver.
[out] Address of a pointer to the surface.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.


This method returns E_NOTIMPL if the DXSurface does not have an underlying IDXSurface::GetDirectDrawSurface. This is the case for some surfaces, such as procedural surfaces.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.