D3DRMDEVICEPALETTECALLBACK

void (*D3DRMDEVICEPALETTECALLBACK)

(LPDIRECT3DRMDEVICE lpDirect3DRMDev, LPVOID lpArg, DWORD dwIndex,

LONG red, LONG green, LONG blue);

Enumerates palette entries. This callback function is application-defined.

·No return value.

lpDirect3DRMDev

Address of the IDirect3DRMDevice interface for this device.

lpArg

Address of application-defined data passed to this callback function.

dwIndex

Index of the palette entry being described.

red, green, and blue

Red, green, and blue components of the color at the given index in the palette.

When determining the order in which to call callback functions, the system searches the objects highest in the hierarchy first, and then calls their callback functions in the order in which they were created.