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.

98 lines
2.1 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*********************************************************************************************
  3. *
  4. *
  5. * Module Name:
  6. *
  7. * idldefs.h
  8. *
  9. * Abstract:
  10. * This is file with some definitions.
  11. *
  12. * Author:Arathi Kundapur. a-akunda
  13. *
  14. *
  15. * Revision:
  16. *
  17. *
  18. ************************************************************************************************/
  19. #include<Accctrl.h>
  20. typedef struct _Encyption
  21. {
  22. TCHAR szLevel[128]; // tscfg uses this 128 value, check if this is the restriction on the size in the ext dll.
  23. TCHAR szDescr[256]; // new field for description
  24. DWORD RegistryValue;
  25. WORD Flags;
  26. } Encryption;
  27. #define NUM_DEFAULT_SECURITY 3
  28. typedef enum _NameType
  29. {
  30. WdName,
  31. WsName
  32. } NameType;
  33. /*typedef struct tagWS
  34. {
  35. WINSTATIONNAME Name;
  36. PDNAME pdName;
  37. WDNAME wdName;
  38. TCHAR Comment[WINSTATIONCOMMENT_LENGTH+1];
  39. ULONG uMaxInstanceCount;
  40. BOOL fEnableWinstation;
  41. ULONG LanAdapter;
  42. SDCLASS SdClass;
  43. } WS;*/
  44. /*
  45. typedef enum _UpDateDataType
  46. {
  47. LANADAPTER,
  48. ENABLEWINSTATION,
  49. MAXINSTANCECOUNT,
  50. COMMENT,
  51. ALL
  52. } UpDateDataType;
  53. const DWORD UDPATE_LANADAPTER = 0x00000001;
  54. const DWORD UDPATE_ENABLEWINSTAION = 0x00000002;
  55. const DWORD UDPATE_MAXINSTANCECOUNT = 0x00000004;
  56. const DWORD UDPATE_COMMENT = 0x00000008;
  57. */
  58. typedef struct tagWS
  59. {
  60. WCHAR Name[32 + 1]; // WINSTATIONNAME_LENGTH
  61. WCHAR pdName[32 + 1]; // Protocol name PDNAME,PDNAME_LENGTH
  62. WCHAR wdName[32 + 1]; // winstation driver NAME, WDNAME_LENGTH
  63. WCHAR Comment[60 +1]; // WINSTATIONCOMMENT_LENGTH
  64. WCHAR DeviceName[ 128 + 1 ]; // DEVICENAME_LENGTH
  65. ULONG uMaxInstanceCount;
  66. BOOL fEnableWinstation;
  67. ULONG LanAdapter;
  68. DWORD PdClass;
  69. } WS;
  70. typedef WS * PWS;
  71. typedef struct tagGuidTbl
  72. {
  73. WCHAR DispName[ 128 ]; // DEVICENAME_LENGTH
  74. GUID guidNIC;
  75. DWORD dwLana;
  76. DWORD dwStatus;
  77. } GUIDTBL , *PGUIDTBL;
  78. typedef struct tagUserPermList
  79. {
  80. WCHAR Name[ 256 ];
  81. WCHAR Sid[ 256 ];
  82. DWORD Mask;
  83. ACCESS_MODE Type;
  84. } USERPERMLIST , *PUSERPERMLIST;