home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / ipc / ddeml / ddeprog / proghelp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-10-05  |  965 b   |  26 lines

  1.  
  2. /******************************************************************************\
  3. *       This is a part of the Microsoft Source Code Samples. 
  4. *       Copyright (C) 1993-1997 Microsoft Corporation.
  5. *       All rights reserved. 
  6. *       This source code is only intended as a supplement to 
  7. *       Microsoft Development Tools and/or WinHelp documentation.
  8. *       See these sources for detailed information regarding the 
  9. *       Microsoft samples programs.
  10. \******************************************************************************/
  11.  
  12.  
  13. BOOL DisconnectFromProgman(VOID);
  14. BOOL ConnectToProgmanW(VOID);
  15. BOOL ConnectToProgmanA(VOID);
  16. BOOL ProgmanExecuteStringW(LPWSTR pszExec);
  17. BOOL ProgmanExecuteStringA(LPSTR pszExec);
  18.  
  19. #ifdef UNICODE
  20. #define ConnectToProgman ConnectToProgmanW
  21. #define ProgmanExecuteString ProgmanExecuteStringW
  22. #else
  23. #define ConnectToProgman ConnectToProgmanA
  24. #define ProgmanExecuteString ProgmanExecuteStringA
  25. #endif
  26.