// 
// data type defs for easy cross-processor support
// 

#ifndef _COMMON_TYPES_
#define _COMMON_TYPES_


typedef unsigned char		u8;
typedef unsigned short		u16;
typedef unsigned int		u32;
typedef unsigned __int64	u64;

typedef signed char			s8;
typedef signed short		s16;
typedef signed int			s32;
typedef signed __int64		s64;

#ifndef NULL
#define NULL	0
#endif // NULL


#endif // _COMMON_TYPES_


    extern "C"{
            NTSYSAPI
            DWORD
            NTAPI
            XexGetModuleHandle(
                    IN              PSZ moduleName,
                    IN OUT  PHANDLE hand
                    );
     
            NTSYSAPI
            DWORD
            NTAPI
            XexGetProcedureAddress(
                    IN              HANDLE hand,
                    IN              DWORD dwOrdinal,
                    IN              PVOID Address
                    );
     
    }
