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.
|
|
/*+-------------------------------------------------------------------------+
| Copyright 1993-1994 (C) Microsoft Corporation - All rights reserved. | +-------------------------------------------------------------------------+*/
#ifndef _NTSECAPI_
#define _NTSECAPI_
#ifdef __cplusplus
extern "C"{ #endif
typedef struct _TRUSTED_DOMAIN_LIST { ULONG Count; TCHAR Name[][MAX_DOMAIN_NAME_LEN + 1]; } TRUSTED_DOMAIN_LIST;
BOOL NTDomainGet(LPTSTR ServerName, LPTSTR Domain); BOOL IsNTAS(LPTSTR Server); void NTTrustedDomainsEnum(LPTSTR ServerName, TRUSTED_DOMAIN_LIST **pTList); SID *NTSIDGet(LPTSTR ServerName, LPTSTR pUserName); BOOL NTFile_AccessRightsAdd(LPTSTR ServerName, LPTSTR pUserName, LPTSTR pFileName, ULONG Rights, BOOL Dir);
#ifdef __cplusplus
} #endif
#endif
|