GetSurface method
Retrieves a pointer to the parent DXSurface.
Syntax
HRESULT retVal = object.GetSurface(riid, ppSurface);
Parameters
riid [in]
Type: REFIIDInterface to retrieve from the read pointer, typically IID_IDXSurface.
ppSurface [out]
Type: voidAddress of a pointer to the requested 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.