Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.