home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 June
/
PCWorld_1998-06_cd.bin
/
software
/
sharware
/
grafika
/
EROICA16
/
HOTSPOT.H_
/
HOTSPOT.H
Wrap
C/C++ Source or Header
|
1998-01-15
|
2KB
|
71 lines
/*-------------------------- Parallax Standard H_File ----------------------------
H_File: hotspot.h
Purpose: This file contains the internal function prototyping for the
main Eroica hotspot application's window handling.
--------------------------------------------------------------------------------
Copyright (c)1996 Parallax Software , All rights reserved.
------------------------------------------------------------------------------*/
#ifndef HOTSPOT_FN_EXPORT
#ifdef WIN32
/* CNT.H in 32 bit mode */
#define HOTSPOT_FN_EXPORT(type) _declspec(dllexport) type __stdcall
#define HOTSPOT_FN_IMPORT(type) _declspec(dllimport) type __stdcall
#else /* WIN32 */
/* CNT.H in 16 bit mode */
#define HOTSPOT_FN_EXPORT(type) type __export FAR PASCAL
#define HOTSPOT_FN_IMPORT(type) type FAR PASCAL
#endif /* WIN32 */
#endif /* !HOTSPOT_FN_EXPORT */
#ifndef HOTSPOT_EPOINT
#ifdef MOD_HOTSPOT
#define HOTSPOT_EPOINT(type) HOTSPOT_FN_EXPORT( type )
#else
/*#define HOTSPOT_EPOINT(type) HOTSPOT_FN_IMPORT( type )*/
#define HOTSPOT_EPOINT(type) HOTSPOT_FN_EXPORT( type )
#endif /* MOD_HOTSPOT */
#endif /* HOTSPOT_EPOINT */
#ifdef _WIN32
int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow);
#else
int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow);
#endif
long FAR PASCAL MainWndProc(HWND, unsigned, WORD, LONG);
/* callback functions */
HOTSPOT_EPOINT (HDDEDATA) DdeCallBack(WORD wType, WORD wFmt, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dwData1, DWORD dwData2);
int IMG_NotifyHotSpot( HCONV ghConv );
int IMG_NotifyHotSpotStop( HCONV ghConv );
#define SYNCTIMEOUT 120000L
#define MAX_DATA 1024
/* HOTSPOT.H */
/* end of file */