home *** CD-ROM | disk | FTP | other *** search
/ PC World 1998 June / PCWorld_1998-06_cd.bin / software / sharware / grafika / EROICA16 / HOTSPOT.H_ / HOTSPOT.H
C/C++ Source or Header  |  1998-01-15  |  2KB  |  71 lines

  1. /*-------------------------- Parallax Standard H_File ----------------------------
  2.    
  3.       H_File: hotspot.h
  4.  
  5.      Purpose: This file contains the internal function prototyping for the
  6.               main Eroica hotspot application's window handling.
  7.  
  8.  
  9. --------------------------------------------------------------------------------
  10.           Copyright (c)1996 Parallax Software , All rights reserved.            
  11. ------------------------------------------------------------------------------*/
  12.  
  13.  
  14.  
  15. #ifndef HOTSPOT_FN_EXPORT
  16.  
  17. #ifdef WIN32
  18.  
  19. /* CNT.H in 32 bit mode */
  20. #define HOTSPOT_FN_EXPORT(type)  _declspec(dllexport) type __stdcall
  21. #define HOTSPOT_FN_IMPORT(type)  _declspec(dllimport) type __stdcall
  22.  
  23. #else   /* WIN32 */
  24.  
  25. /* CNT.H in 16 bit mode */
  26. #define HOTSPOT_FN_EXPORT(type)  type __export FAR PASCAL
  27. #define HOTSPOT_FN_IMPORT(type)  type FAR PASCAL 
  28.  
  29. #endif  /* WIN32 */
  30.  
  31. #endif  /* !HOTSPOT_FN_EXPORT */
  32.  
  33.  
  34. #ifndef HOTSPOT_EPOINT
  35.  
  36. #ifdef MOD_HOTSPOT
  37.  
  38. #define HOTSPOT_EPOINT(type)    HOTSPOT_FN_EXPORT( type )
  39.  
  40. #else
  41.  
  42. /*#define HOTSPOT_EPOINT(type)    HOTSPOT_FN_IMPORT( type )*/
  43. #define HOTSPOT_EPOINT(type)    HOTSPOT_FN_EXPORT( type )
  44.  
  45. #endif /* MOD_HOTSPOT */
  46.  
  47. #endif /* HOTSPOT_EPOINT */
  48.  
  49.  
  50.  
  51. #ifdef _WIN32
  52. int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow);
  53. #else
  54. int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow);
  55. #endif
  56. long FAR PASCAL MainWndProc(HWND, unsigned, WORD, LONG);
  57.  
  58. /* callback functions */
  59. HOTSPOT_EPOINT (HDDEDATA) DdeCallBack(WORD wType, WORD wFmt, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dwData1, DWORD dwData2);
  60.  
  61.  
  62. int IMG_NotifyHotSpot( HCONV ghConv );
  63. int IMG_NotifyHotSpotStop( HCONV ghConv );
  64.  
  65. #define SYNCTIMEOUT 120000L
  66. #define MAX_DATA        1024
  67.  
  68.  
  69. /* HOTSPOT.H */
  70. /* end of file */
  71.