All pastes #390913 Raw Edit

functions.h

public cpp v1 · immutable
·published 2007-03-11 19:32 UTC
rendered paste body
#ifndef FUNCTIONS_H#define FUNCTIONS_H/******************************************************************************//* Prototypes des fonctions globales */// typedef pour les fonctions de inpout32.dlltypedef short _stdcall (*inpfuncPtr)(short portaddr);typedef void _stdcall (*oupfuncPtr)(short portaddr, short datum);typedef union NEWCHAR {	unsigned char	dec;	 //decimal	struct {#ifndef INVERT		bool	bit1:1;		bool	bit2:1;		bool	bit3:1;		bool	bit4:1;		bool	bit5:1;		bool	bit6:1;		bool	bit7:1;		bool	bit8:1;#endif#ifdef INVERT		bool	bit8:1;		bool	bit7:1;		bool	bit6:1;		bool	bit5:1;		bool	bit4:1;		bool	bit3:1;		bool	bit2:1;		bool	bit1:1;#endif	};};inpfuncPtr inp32;oupfuncPtr oup32;int 	menu();int 	menu_bobines();char* 	bin	(NEWCHAR num);void 	send(int value);#endif