Present method
Displays a back buffer in a rectangle on the surface.
Syntax
HRESULT retVal = object.Present(uBuffer, pDirty);
Parameters
uBuffer [in]
Type: UINTThe index of which back buffer to present.
pDirty [in]
Type: RECTA RECT structure that represents the buffer to copy.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.