Lines Matching refs:Flags
100 static HRESULT WINAPI IWineD3DPaletteImpl_GetEntries(IWineD3DPalette *iface, DWORD Flags, DWORD Start, DWORD Count, PALETTEENTRY *PalEnt) {
103 TRACE("(%p)->(%08x,%d,%d,%p)\n",This,Flags,Start,Count,PalEnt);
105 if (Flags != 0) return WINED3DERR_INVALIDCALL; /* unchecked */
106 if (Start + Count > IWineD3DPaletteImpl_Size(This->Flags))
109 if (This->Flags & WINEDDPCAPS_8BITENTRIES)
124 DWORD Flags, DWORD Start, DWORD Count, const PALETTEENTRY *PalEnt)
129 TRACE("(%p)->(%08x,%d,%d,%p)\n",This,Flags,Start,Count,PalEnt);
130 TRACE("Palette flags: %#x\n", This->Flags);
132 if (This->Flags & WINEDDPCAPS_8BITENTRIES) {
143 if(!(This->Flags & WINEDDPCAPS_ALLOW256))
184 *Caps = This->Flags;
219 palette->Flags = flags;