home *** CD-ROM | disk | FTP | other *** search
/ C Programming Starter Kit 2.0 / SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso / bc45 / ddemlwin.pak / DDECLNT.H < prev    next >
C/C++ Source or Header  |  1997-07-23  |  1KB  |  40 lines

  1. /* Borland C++ - (C) Copyright 1992 by Borland International               */
  2.  
  3. /*
  4.          External References
  5. */
  6.  
  7. extern HANDLE      hInst;
  8. extern HWND        hWnd;
  9.  
  10. /*
  11.          Resource Defines
  12. */
  13.  
  14. #define ID_DDECLIENT                   100
  15. #define ID_DDESERVER                   101
  16.  
  17. /*
  18.          Menu Selection Defines
  19. */
  20.  
  21. #define IDM_EXIT                       100
  22. #define IDM_CONNECT_SERVER             101
  23. #define IDM_DISCONNECT_SERVER          102
  24. #define IDM_ABOUT                      103
  25. #define IDM_MSG_TO_SERVER              104
  26. #define IDM_MSG_FROM_SERVER            105
  27.  
  28. /*
  29.          Forward References
  30. */
  31.  
  32. LRESULT CALLBACK MainWndProc ( HWND, UINT, WPARAM, LPARAM );
  33. BOOL FAR PASCAL InitApplication ( HANDLE );
  34. BOOL InitInstance ( HANDLE hInstance, int nCmdShow );
  35. BOOL CALLBACK About ( HWND, UINT, WPARAM, LPARAM );
  36. HDDEDATA EXPENTRY DDECallback ( WORD, WORD, HCONV, HSZ, HSZ, HDDEDATA, DWORD,
  37.                                 DWORD );
  38. void HandleError ( DWORD );
  39. void HandleOutput ( char * );
  40.