view loader/ldt_keeper.h @ 34994:b6ac08b94fc3

Go without pointless variable hWnd/hwnd. It will be saved later in the gui_t structure anyway, so save it early and use the struct member instead.
author ib
date Wed, 15 Aug 2012 12:33:45 +0000
parents 6506ce7ba414
children
line wrap: on
line source

#ifndef MPLAYER_LDT_KEEPER_H
#define MPLAYER_LDT_KEEPER_H

extern void *fs_seg;

typedef struct {
  void* fs_seg;
  char* prev_struct;
} ldt_fs_t;

void Setup_FS_Segment(void);
ldt_fs_t* Setup_LDT_Keeper(void);
void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);

#endif /* MPLAYER_LDT_KEEPER_H */