IDXARGBReadPtr::GetSurface 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 a pointer to the parent DXSurface.

Syntax


HRESULT GetSurface(
    REFIID riid,
    void **ppSurface
);

Parameters

riid
[in] Interface to retrieve from the read pointer, typically IID_IDXSurface.
ppSurface
[out] Address of a pointer to the requested interface.

Return Value

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

Remarks

This method retrieves a pointer to the parent surface associated with the specified IDXARGBReadPtr interface. It provides a link between the IDXSurface::LockSurface interface, which exposes the IDXARGBReadPtr and IDXARGBReadWritePtr interfaces, and the DXSurface object, which exposes the IDXSurface interface.

Community Additions

ADD
Show:
© 2014 Microsoft