DCIEnum

Determines what enhanced support, if any, is provided by the DCI Provider.

int FAR PASCAL _loadds DCIEnum(hdc, lprDst, lprSrc, lpFnCallback, lpContext)

HDC hdc;

LPRECT lprDst;

LPRECT lprSrc;

LPVOID lpFnCallback;

LPVOID lpContext;

INPUT PARAMETERS

hdc

The device context returned by a previous DCIOpenProvider call.

lprDst

A far pointer to the destination rectangle.

lprSrc

A far pointer to the source rectangle.

lpFnCallback

Pointer to a callback function provided by the DCI Client. The DCI Provider uses this function to inform the Client of the list of color formats supported for the given input parameters.

lpContext

Pointer that identifies the DCI Client's context. This parameter must be passed back to the DCI Client as a parameter to the callback function specified by lpFnCallback.


RETURNS

DCI_OK on success, or an appropriate DCI error code on failure.