diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/nw/convert/nwconv/ntsecapi.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/nw/convert/nwconv/ntsecapi.h')
-rw-r--r-- | private/nw/convert/nwconv/ntsecapi.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/private/nw/convert/nwconv/ntsecapi.h b/private/nw/convert/nwconv/ntsecapi.h new file mode 100644 index 000000000..9db3fedcd --- /dev/null +++ b/private/nw/convert/nwconv/ntsecapi.h @@ -0,0 +1,28 @@ +/*+-------------------------------------------------------------------------+ + | 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 |