DCICreateOverlay

Requests the DCI Provider to create an overlay surface.

int FAR PASCAL _loadds DCICreateOverlay(hdc, lpOffscreenSurf, lplpSurface)

HDC hdc;

LPVOID lpOffscreenSurf;

LPDCIOVERLAY FAR * lplpSurface;

INPUT PARAMETERS

hdc

Device context returned from a previous DCIOpenProvider call.

lpOffscreenSurf

Pointer to an offscreen surface previously created on which the overlay functionality is to be exercised.

lplpSurface

A far pointer to a far pointer to the DCI overlay structure allocated by the DCI Provider.


RETURNS

Returns DCI_OK if the function succeeds, or an appropriate error code otherwise.