Called by DCI Client when data from an offscreen buffer must be made visible.
DCIRVAL CALLBACK _loadds Draw(lpSurface)
LPVOID
lpSurface;
INPUT PARAMETERS
lpSurface
Specifies a far pointer to a DCISURFACEINFO structure that was previously obtained via a DCIDCREATEPRIMARYSURFACE, DCICREATEOFFSCREENSURFACE, or DCICREATEOVERLAYSURFACE escape.
RETURNS
Returns DCI_OK on success, or an error code on failure. DCI error codes are listed in Chapter 2 of the DCI Specification.
COMMENTS
Parameters specifying the transfer are those in effect from the last SetDestination and SetCliplist calls. This function must return a status code when invoked. It is legal for the DCI Provider to fail the call at the time of invocation. A suitable error code must be returned to indicate the cause of failure.