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.

123 lines
2.3 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*++
  3. Module Name:
  4. rdpdrstp
  5. Abstract:
  6. This module implements Terminal Server RDPDR device redirector
  7. setup functions in C for user-mode NT.
  8. Environment:
  9. User mode
  10. Author:
  11. Tadb
  12. --*/
  13. #ifndef _RDPDRSTP_
  14. #define _RDPDRSTP_
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif // __cplusplus
  18. ////////////////////////////////////////////////////////////
  19. //
  20. // Internal Defines
  21. //
  22. #define TRDPDRPNPID TEXT("ROOT\\RDPDR")
  23. #define RDPDRPNPID L"ROOT\\RDPDR"
  24. #define RDPDRDEVICEID TEXT("Root\\RDPDR\\0000")
  25. #ifdef TSOC_CONSOLE_SHADOWING
  26. #define RDPMOUPNPID L"ROOT\\RDP_MOU"
  27. #define RDPMOUDEVICEID TEXT("Root\\RDP_MOU\\0000")
  28. #define RDPKBDPNPID L"ROOT\\RDP_KBD"
  29. #define RDPKBDDEVICEID TEXT("Root\\RDP_KBD\\0000")
  30. /*
  31. const TCHAR szRDPCDDInfFile[] = _T("%windir%\\inf\\rdpcdd.inf");
  32. const TCHAR szRDPCDDHardwareID[] = _T("ROOT\\DISPLAY"); // should match with the inf entry.
  33. const TCHAR szRDPCDDDeviceName[] = _T("ROOT\\DISPLAY\\0000");
  34. */
  35. /*++
  36. Routine Description:
  37. This is the single entry point for RDPDR (Terminal Server Device Redirector)
  38. GUI-mode setup install routine.
  39. It currently simply creates and installs a dev node for RDPDR to interact with
  40. PnP.
  41. Arguments:
  42. hwndParent Handle to parent window for GUI required by this function.
  43. Return Value:
  44. TRUE on success. FALSE, otherwise.
  45. --*/
  46. /*
  47. DWORD
  48. InstallRootEnumeratedDevice(
  49. IN HWND hwndParent,
  50. IN PCTSTR DeviceName,
  51. IN PCTSTR HardwareIdList,
  52. IN PCTSTR FullInfPath,
  53. OUT PBOOL RebootRequired OPTIONAL
  54. );
  55. */
  56. #endif // TSOC_CONSOLE_SHADOWING
  57. BOOL RDPDRINST_GUIModeSetupInstall(
  58. IN HWND hwndParent,
  59. IN WCHAR *pPNPID,
  60. IN TCHAR *pDeviceID
  61. );
  62. /*++
  63. Routine Description:
  64. This is the single entry point for RDPDR (Terminal Server Device Redirector)
  65. GUI-mode setup uninstall routine.
  66. It currently simply remove the dev node created so that RDPDR can interact
  67. with PnP.
  68. Arguments:
  69. hwndParent Handle to parent window for GUI required by this function.
  70. Return Value:
  71. TRUE on success. FALSE, otherwise.
  72. --*/
  73. BOOL RDPDRINST_GUIModeSetupUninstall(HWND hwndParent, WCHAR *pPNPID, GUID *pGuid);
  74. BOOL IsRDPDrInstalled ();
  75. #ifdef __cplusplus
  76. }
  77. #endif // __cplusplus
  78. #endif // RDPDRSTP