forked from KolibriOS/kolibrios
fixed definition of process_table_entry structure in mesys.h
git-svn-id: svn://kolibrios.org@169 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
233c3e6435
commit
6c854695d0
@ -58,19 +58,29 @@ extern int stdcall _msys_pci_write_config_byte(int bus,int dev,int fn,int reg,i
|
|||||||
extern int stdcall _msys_pci_write_config_word(int bus,int dev,int fn,int reg,int value);
|
extern int stdcall _msys_pci_write_config_word(int bus,int dev,int fn,int reg,int value);
|
||||||
extern int stdcall _msys_pci_write_config_value(int bus,int dev,int fn,int reg,int value);
|
extern int stdcall _msys_pci_write_config_value(int bus,int dev,int fn,int reg,int value);
|
||||||
extern int stdcall _msys_putpixel(int x,int y,int color);
|
extern int stdcall _msys_putpixel(int x,int y,int color);
|
||||||
|
#pragma pack(push,1)
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int cpu_usage;
|
int cpu_usage; //+0
|
||||||
int window_pos_info;
|
int window_pos_info; //+4
|
||||||
char name[12];
|
short int reserved1; //+8
|
||||||
int memstart;
|
char name[12]; //+10
|
||||||
int memused;
|
int memstart; //+22
|
||||||
int pid;
|
int memused; //+26
|
||||||
int winx_start;
|
int pid; //+30
|
||||||
int winy_start;
|
int winx_start; //+34
|
||||||
int winx_size;
|
int winy_start; //+38
|
||||||
int winy_size;
|
int winx_size; //+42
|
||||||
int slot_info;
|
int winy_size; //+46
|
||||||
|
short int slot_info; //+50
|
||||||
|
short int reserved2; //+52
|
||||||
|
int clientx; //+54
|
||||||
|
int clienty; //+58
|
||||||
|
int clientwidth; //+62
|
||||||
|
int clientheight; //+66
|
||||||
|
unsigned char window_state;//+70
|
||||||
|
char reserved3[1024-71]; //+71
|
||||||
} process_table_entry;
|
} process_table_entry;
|
||||||
|
#pragma pack(pop)
|
||||||
extern int stdcall _msys_get_process_table(process_table_entry* proctab,int pid);
|
extern int stdcall _msys_get_process_table(process_table_entry* proctab,int pid);
|
||||||
extern int stdcall _msys_get_screen_size(int* x,int* y);
|
extern int stdcall _msys_get_screen_size(int* x,int* y);
|
||||||
extern void stdcall _msys_sound_load_block(void* blockptr);
|
extern void stdcall _msys_sound_load_block(void* blockptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user