Leaked source code of windows server 2003
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.

65 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name :
  4. umrdpdrv.h
  5. Abstract:
  6. User-Mode Component for RDP Device Management that Handles Drive Device-
  7. Specific tasks.
  8. This is a supporting module. The main module is umrdpdr.c.
  9. Author:
  10. Joy Chik 2/1/2000
  11. Revision History:
  12. --*/
  13. #ifndef _UMRDPDRV_
  14. #define _UMRDPDRV_
  15. #include <rdpdr.h>
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif // __cplusplus
  19. // Handle a drive device announce event from the "dr" by creating
  20. // UNC connection for redirect client drive devices.
  21. BOOL UMRDPDRV_HandleDriveAnnounceEvent(
  22. IN PDRDEVLST installedDevices,
  23. IN PRDPDR_DRIVEDEVICE_SUB pDriveAnnounce,
  24. IN HANDLE TokenForLoggedOnUser
  25. );
  26. // Delete drive device connection on disconnect / logoff
  27. // This also cleans up the shell reg folder stuff in my computer
  28. BOOL UMRDPDRV_DeleteDriveConnection(
  29. IN PDRDEVLSTENTRY deviceEntry,
  30. IN HANDLE TokenForLoggedOnUser
  31. );
  32. // Create a shell reg folder under My Computer for client
  33. // redirected drive connection
  34. BOOL CreateDriveFolder(
  35. IN WCHAR *RemoteName,
  36. IN WCHAR *ClientDisplayName,
  37. IN PDRDEVLSTENTRY deviceEntry
  38. );
  39. // Delete a shell reg folder under My Computer for client
  40. // redirected drive connection
  41. BOOL DeleteDriveFolder(
  42. IN PDRDEVLSTENTRY deviceEntry
  43. );
  44. #ifdef __cplusplus
  45. }
  46. #endif // __cplusplus
  47. #endif // _UMRDPDRV_