Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.5 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1995-1997 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: w95help.h
  6. * Content: header file for Win95 helper interface
  7. * History:
  8. * Date By Reason
  9. * ==== == ======
  10. * 06-apr-95 craige initial implementation
  11. * 29-nov-95 angusm added HelperCreateDSFocusThread
  12. * 18-jul-96 andyco added Helper(Add/)DeleteDPlayServer
  13. * 12-oct-96 colinmc added new service to get DDHELP to get its own handle
  14. * for communicating with the DirectSound VXD
  15. * 22-jan-97 kipo return an HRESULT from HelperAddDPlayServer()
  16. *
  17. ***************************************************************************/
  18. #ifndef __W95HELP_INCLUDED__
  19. #define __W95HELP_INCLUDED__
  20. #include "ddhelp.h"
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. extern void SignalNewProcess( DWORD pid, LPHELPNOTIFYPROC proc );
  25. extern void SignalNewDriver( LPSTR fname, BOOL isdisp );
  26. extern BOOL CreateHelperProcess( LPDWORD ppid );
  27. extern void DoneWithHelperProcess( void );
  28. extern BOOL WaitForHelperStartup( void );
  29. extern DWORD HelperLoadDLL( LPSTR dllname, LPSTR fnname, DWORD context );
  30. extern void HelperCreateThread( void );
  31. extern DWORD HelperWaveOpen( LPVOID lphwo, DWORD dwDeviceID, LPVOID pwfx );
  32. extern DWORD HelperWaveClose( DWORD hwo );
  33. extern DWORD HelperCreateTimer( DWORD dwResolution,LPVOID pTimerProc,DWORD dwInstanceData );
  34. extern DWORD HelperKillTimer( DWORD dwTimerID );
  35. #ifdef _WIN32
  36. extern HANDLE HelperCreateDSMixerThread( LPTHREAD_START_ROUTINE pfnThreadFunc,
  37. LPVOID pThreadParam,
  38. DWORD dwFlags,
  39. LPDWORD pThreadId );
  40. extern HANDLE HelperCreateDSFocusThread( LPTHREAD_START_ROUTINE pfnThreadFunc,
  41. LPVOID pThreadParam,
  42. DWORD dwFlags,
  43. LPDWORD pThreadId );
  44. extern void HelperCallDSEmulatorCleanup( LPVOID pCleanupFunc,
  45. LPVOID pDirectSound );
  46. #endif
  47. extern BOOL HelperCreateModeSetThread( LPVOID callback, HANDLE *ph, LPVOID lpdd, DWORD hInstance );
  48. extern BOOL HelperCreateDOSBoxThread( LPVOID callback, HANDLE *ph, LPVOID lpdd, DWORD hInstance );
  49. extern void HelperKillModeSetThread( DWORD hInstance );
  50. extern void HelperKillDOSBoxThread( DWORD hInstance );
  51. extern DWORD HelperAddDPlayServer(DWORD port);
  52. extern BOOL HelperDeleteDPlayServer();
  53. #ifdef WIN95
  54. extern HANDLE HelperGetDSVxd( void );
  55. #endif
  56. extern void HelperSetOnDisplayChangeNotify( void *pfn );
  57. #ifdef __cplusplus
  58. };
  59. #endif
  60. #endif