Fill in some DirectDrawPalette HAL fields.

This commit is contained in:
Ove Kaaven 2001-04-17 17:35:57 +00:00 committed by Alexandre Julliard
parent 3b7d0928f0
commit 04b7b7a86d
2 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,7 @@
/* DirectDraw - IDirectPalette base interface
*
* Copyright 1997-2000 Marcus Meissner
* Copyright 2000 TransGaming Technologies Inc.
* Copyright 2000-2001 TransGaming Technologies Inc.
*/
#include "config.h"
@ -38,6 +38,12 @@ HRESULT Main_DirectDrawPalette_Construct(IDirectDrawPaletteImpl* This,
This->flags = dwFlags;
This->palNumEntries = Main_DirectDrawPalette_Size(dwFlags);
This->ref = 1;
This->local.lpGbl = &This->global;
This->local.lpDD_lcl = &pDD->local;
This->global.lpDD_lcl = &pDD->local;
This->global.dwProcessId = GetCurrentProcessId();
This->final_release = Main_DirectDrawPalette_final_release;
ICOM_INIT_INTERFACE(This, IDirectDrawPalette, DDRAW_Main_Palette_VTable);

View file

@ -1,4 +1,4 @@
/* Copyright 2000 TransGaming Technologies Inc. */
/* Copyright 2000-2001 TransGaming Technologies Inc. */
#ifndef WINE_DDRAW_DPALETTE_MAIN_H_INCLUDED
#define WINE_DDRAW_DPALETTE_MAIN_H_INCLUDED