Enumerates palette entries. This callback function is application-defined.
void (
*D3DRMDEVICEPALETTECALLBACK
)
(
LPDIRECT3DRMDEVICE lpDirect3DRMDev,
LPVOID lpArg,
DWORD dwIndex,
LONG red,
LONG green,
LONG blue
);
Parameters
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.
Return Values
No return value.
Remarks
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.