This is a method of the IDirectDrawPalette Interface.
public void setEntries(int flags, int start, int count, byte[] val);