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.

63 lines
2.1 KiB

  1. /*++
  2. Copyright (C) 1989-1998 Microsoft Corporation, All rights reserved
  3. Module:
  4. tscfgex.h
  5. Abstract:
  6. Terminal Server Connection Configuration DLL extension data structures
  7. and function prototypes.
  8. Author:
  9. Brad Graziadio (BradG) 4-Feb-98
  10. --*/
  11. #ifndef _TSCFGEX_
  12. #define _TSCFGEX_
  13. #include <winsta.h>
  14. //
  15. // This data structure is used to represent the list of encryption
  16. // levels that a protocol supports.
  17. //
  18. typedef struct _EncLevel {
  19. WORD StringID; // Resource ID to lookup in DLLs resource table
  20. DWORD RegistryValue; // DWORD value to set in registry
  21. WORD Flags; // Flags (see ELF_* values below)
  22. } EncryptionLevel, *PEncryptionLevel;
  23. // Flags for EncryptionLevel.Flags
  24. #define ELF_DEFAULT 0x0001
  25. typedef LONG (WINAPI *LPFNEXTENCRYPTIONLEVELSPROC) (WDNAME *pWdName, EncryptionLevel **);
  26. //
  27. // Flags for ExtGetCapabilities
  28. //
  29. const ULONG WDC_CLIENT_DRIVE_MAPPING = 0x00000001;
  30. const ULONG WDC_WIN_CLIENT_PRINTER_MAPPING = 0x00000002;
  31. const ULONG WDC_CLIENT_LPT_PORT_MAPPING = 0x00000004;
  32. const ULONG WDC_CLIENT_COM_PORT_MAPPING = 0x00000008;
  33. const ULONG WDC_CLIENT_CLIPBOARD_MAPPING = 0x00000010;
  34. const ULONG WDC_CLIENT_AUDIO_MAPPING = 0x00000020;
  35. const ULONG WDC_SHADOWING = 0x00000040;
  36. const ULONG WDC_PUBLISHED_APPLICATIONS = 0x00000080;
  37. const ULONG WDC_RECONNECT_PREVCLIENT = 0X00000100;
  38. #define WDC_CLIENT_DIALOG_MASK (WDC_CLIENT_DRIVE_MAPPING | \
  39. WDC_WIN_CLIENT_PRINTER_MAPPING | \
  40. WDC_CLIENT_LPT_PORT_MAPPING | \
  41. WDC_CLIENT_COM_PORT_MAPPING | \
  42. WDC_CLIENT_CLIPBOARD_MAPPING | \
  43. WDC_CLIENT_AUDIO_MAPPING)
  44. #define WDC_CLIENT_CONNECT_MASK = (WDC_CLIENT_DRIVE_MAPPING | \
  45. WDC_WIN_CLIENT_PRINTER_MAPPING | \
  46. WDC_CLIENT_LPT_PORT_MAPPING)
  47. #endif