Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

dlluser.h

Go to the documentation of this file.
00001 
00005 #ifndef DLLUSER_H
00006 #define DLLUSER_H
00007 
00008 #include <windows.h>
00009 
00017 typedef UINT* MSGLIST;
00018 
00020 #define ENDOFMSGLIST 0xBFFF
00021 
00023 typedef struct {
00024         MSGLIST msglist;        
00025         UINT iolo;      
00026         UINT iohi;  
00027 } INITDLLINFO;
00028 
00029 
00036 typedef struct {
00038         char* memory;
00040         HWND hWnd;
00042         HWND hTb;
00044         HINSTANCE hInst;
00046         CRITICAL_SECTION CSMemory;
00049         unsigned char (*memgetb) (UINT adr);
00052         void (*memsetb) (UINT adr, unsigned char byte);
00054         RECT rcPaint;
00056         void* optional;
00057 } INITDLLSTRUCT;
00058 
00059 
00064 typedef struct {
00065         UINT message;
00066         WPARAM wParam;
00067         LPARAM lParam;
00068 } MESSAGEDLLSTRUCT;
00069 
00071 typedef enum { IOREAD, IOWRITE } iomode;
00072 
00083 typedef void (*pIOFunc)(UINT adr, unsigned char* data, iomode mode);
00084 
00086 typedef void (*pInitDllProc)(INITDLLSTRUCT*, INITDLLINFO*);
00087 
00089 typedef void (*pForwardDllMsgProc)(MESSAGEDLLSTRUCT*);
00090 
00091 
00092 #endif  //#ifndef DLLUSER_H

Generated on Fri Sep 6 18:32:14 2002 for Emu6502 by doxygen1.2.17