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.

94 lines
2.8 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 StopWatchProcess( DWORD pid, LPHELPNOTIFYPROC proc );
  26. extern void SignalNewDriver( LPSTR fname, BOOL isdisp );
  27. extern BOOL CreateHelperProcess( LPDWORD ppid );
  28. extern void DoneWithHelperProcess( void );
  29. extern BOOL WaitForHelperStartup( void );
  30. extern DWORD HelperLoadDLL( LPSTR dllname, LPSTR fnname, DWORD context );
  31. extern void HelperCreateThread( void );
  32. extern DWORD HelperWaveOpen( LPVOID lphwo, DWORD dwDeviceID, LPVOID pwfx );
  33. extern DWORD HelperWaveClose( DWORD hwo );
  34. extern DWORD HelperCreateTimer( DWORD dwResolution,LPVOID pTimerProc,DWORD dwInstanceData );
  35. extern DWORD HelperKillTimer( DWORD dwTimerID );
  36. #ifdef _WIN32
  37. extern HANDLE HelperCreateDSMixerThread( LPTHREAD_START_ROUTINE pfnThreadFunc,
  38. LPVOID pThreadParam,
  39. DWORD dwFlags,
  40. LPDWORD pThreadId );
  41. extern HANDLE HelperCreateDSFocusThread( LPTHREAD_START_ROUTINE pfnThreadFunc,
  42. LPVOID pThreadParam,
  43. DWORD dwFlags,
  44. LPDWORD pThreadId );
  45. extern void HelperCallDSEmulatorCleanup( LPVOID pCleanupFunc,
  46. LPVOID pDirectSound );
  47. #endif
  48. extern BOOL HelperCreateModeSetThread( LPVOID callback, HANDLE *ph, LPVOID lpdd, DWORD hInstance );
  49. extern BOOL HelperCreateDOSBoxThread( LPVOID callback, HANDLE *ph, LPVOID lpdd, DWORD hInstance );
  50. extern void HelperKillModeSetThread( DWORD hInstance );
  51. extern void HelperKillDOSBoxThread( DWORD hInstance );
  52. extern DWORD HelperAddDPlayServer(DWORD port);
  53. extern BOOL HelperDeleteDPlayServer();
  54. #ifdef WIN95
  55. extern HANDLE HelperGetDSVxd( void );
  56. extern HANDLE HelperGetDDVxd( void );
  57. #endif
  58. extern void HelperSetOnDisplayChangeNotify( void *pfn );
  59. extern HINSTANCE HelperLoadLibrary(LPCSTR pszLibraryName);
  60. extern BOOL HelperFreeLibrary(HINSTANCE hInst);
  61. extern void HelperAddDeviceChangeNotify(LPDEVICECHANGENOTIFYPROC);
  62. extern void HelperDelDeviceChangeNotify(LPDEVICECHANGENOTIFYPROC);
  63. #ifdef __cplusplus
  64. };
  65. #endif
  66. #endif