TDirectDraw
function LoadPalette( const Name: String ): TDirectDrawPalette;
This method creates a DirectDraw palette object from the Name bitmap resoure. If the resource does not exists or an empty string is passed it creates a default 332 palette.