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.

28 lines
789 B

  1. /*+-------------------------------------------------------------------------+
  2. | Copyright 1993-1994 (C) Microsoft Corporation - All rights reserved. |
  3. +-------------------------------------------------------------------------+*/
  4. #ifndef _NTSECAPI_
  5. #define _NTSECAPI_
  6. #ifdef __cplusplus
  7. extern "C"{
  8. #endif
  9. typedef struct _TRUSTED_DOMAIN_LIST {
  10. ULONG Count;
  11. TCHAR Name[][MAX_DOMAIN_NAME_LEN + 1];
  12. } TRUSTED_DOMAIN_LIST;
  13. BOOL NTDomainGet(LPTSTR ServerName, LPTSTR Domain);
  14. BOOL IsNTAS(LPTSTR Server);
  15. void NTTrustedDomainsEnum(LPTSTR ServerName, TRUSTED_DOMAIN_LIST **pTList);
  16. SID *NTSIDGet(LPTSTR ServerName, LPTSTR pUserName);
  17. BOOL NTFile_AccessRightsAdd(LPTSTR ServerName, LPTSTR pUserName, LPTSTR pFileName, ULONG Rights, BOOL Dir);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif