Retrieves a pointer to the parent DXSurface.
HRESULT retVal = object.GetSurface(riid, ppSurface);
Interface to retrieve from the read pointer, typically IID_IDXSurface.
Address of a pointer to the requested interface.
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.