[Bug 498] - Convert HPALETTE to a void* (references: 34)