ReactOS 0.4.16-dev-303-g11d5cb8
|
#include <wine/config.h>
#include <limits.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <lmaccess.h>
#include <lmapibuf.h>
#include <lmerr.h>
#include <ntsecapi.h>
#include <nb30.h>
#include <iphlpapi.h>
#include <wine/debug.h>
#include <wine/unicode.h>
#include <ndk/rtlfuncs.h>
#include <ntsam.h>
#include "nbnamecache.h"
#include "netbios.h"
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | _INC_WINDOWS |
#define | COM_NO_WINDOWS_H |
#define | NTOS_MODE_USER |
Functions | |
NTSTATUS | GetAccountDomainSid (IN PUNICODE_STRING ServerName, OUT PSID *AccountDomainSid) |
NTSTATUS | GetBuiltinDomainSid (OUT PSID *BuiltinDomainSid) |
NTSTATUS | OpenAccountDomain (IN SAM_HANDLE ServerHandle, IN PUNICODE_STRING ServerName, IN ULONG DesiredAccess, OUT PSAM_HANDLE DomainHandle) |
NTSTATUS | OpenBuiltinDomain (IN SAM_HANDLE ServerHandle, IN ULONG DesiredAccess, OUT SAM_HANDLE *DomainHandle) |
NET_API_STATUS | BuildSidFromSidAndRid (IN PSID SrcSid, IN ULONG RelativeId, OUT PSID *DestSid) |
VOID | CopySidFromSidAndRid (_Out_ PSID DstSid, _In_ PSID SrcSid, _In_ ULONG RelativeId) |
PSTR WINAPI | NetpAllocAnsiStrFromWStr (_In_ PWSTR InString) |
PSTR WINAPI | NetpAllocStrFromWStr (_In_ PWSTR InString) |
PWSTR WINAPI | NetpAllocWStrFromAnsiStr (_In_ PSTR InString) |
PWSTR WINAPI | NetpAllocWStrFromStr (_In_ PSTR InString) |
PWSTR WINAPI | NetpAllocWStrFromWStr (_In_ PWSTR InString) |
NET_API_STATUS WINAPI | NetpNtStatusToApiStatus (_In_ NTSTATUS Status) |
BOOL | NETAPI_IsLocalComputer (LMCSTR ServerName) |
Variables | |
LIST_ENTRY | g_EnumContextListHead |
CRITICAL_SECTION | g_EnumContextListLock |
#define _INC_WINDOWS |
Definition at line 10 of file netapi32.h.
#define COM_NO_WINDOWS_H |
Definition at line 11 of file netapi32.h.
#define NTOS_MODE_USER |
Definition at line 25 of file netapi32.h.
#define WIN32_NO_STATUS |
Definition at line 9 of file netapi32.h.
Definition at line 177 of file utils.c.
Referenced by BuildSidListFromDomainAndName(), GetUserPrivileges(), and NetUserGetLocalGroups().
Definition at line 220 of file utils.c.
Referenced by BuildUserInfoBuffer().
NTSTATUS GetAccountDomainSid | ( | IN PUNICODE_STRING | ServerName, |
OUT PSID * | AccountDomainSid | ||
) |
Definition at line 23 of file utils.c.
Referenced by OpenAccountDomain().
Definition at line 76 of file utils.c.
Referenced by NetUserEnum(), NetUserGetInfo(), and OpenBuiltinDomain().
Definition at line 33 of file wksta.c.
Referenced by NetWkstaTransportEnum().
Definition at line 140 of file misc.c.
Referenced by DsGetSiteNameA().
Definition at line 172 of file misc.c.
Definition at line 204 of file misc.c.
Referenced by DsAddressToSiteNamesA(), DsAddressToSiteNamesExA(), DsDeregisterDnsHostRecordsA(), DsEnumerateDomainTrustsA(), DsGetDcNameWithAccountA(), DsGetDcSiteCoverageA(), and DsGetSiteNameA().
Definition at line 236 of file misc.c.
Definition at line 268 of file misc.c.
NET_API_STATUS WINAPI NetpNtStatusToApiStatus | ( | _In_ NTSTATUS | Status | ) |
Definition at line 289 of file misc.c.
Referenced by BuildSidListFromDomainAndName(), BuildUserInfoBuffer(), GetUserDacl(), GetUserPrivileges(), NetGetDisplayInformationIndex(), NetGroupAdd(), NetGroupAddUser(), NetGroupDel(), NetGroupDelUser(), NetGroupEnum(), NetGroupGetInfo(), NetGroupGetUsers(), NetGroupSetInfo(), NetGroupSetUsers(), NetLocalGroupAdd(), NetLocalGroupAddMembers(), NetLocalGroupDel(), NetLocalGroupDelMembers(), NetLocalGroupEnum(), NetLocalGroupGetInfo(), NetLocalGroupGetMembers(), NetLocalGroupSetInfo(), NetpBind(), NetpUnbind(), NetQueryDisplayInformation(), NetRegisterDomainNameChangeNotification(), NetUnregisterDomainNameChangeNotification(), NetUserAdd(), NetUserChangePassword(), NetUserDel(), NetUserEnum(), NetUserGetGroups(), NetUserGetInfo(), NetUserGetLocalGroups(), NetUserModalsGet(), NetUserSetInfo(), OpenAliasByName(), OpenGroupByName(), OpenUserByName(), and SetUserInfo().
NTSTATUS OpenAccountDomain | ( | IN SAM_HANDLE | ServerHandle, |
IN PUNICODE_STRING | ServerName, | ||
IN ULONG | DesiredAccess, | ||
OUT PSAM_HANDLE | DomainHandle | ||
) |
Definition at line 113 of file utils.c.
Referenced by NetGetDisplayInformationIndex(), NetGroupAdd(), NetGroupAddUser(), NetGroupDel(), NetGroupDelUser(), NetGroupEnum(), NetGroupGetInfo(), NetGroupGetUsers(), NetGroupSetInfo(), NetGroupSetUsers(), NetLocalGroupAdd(), NetLocalGroupAddMembers(), NetLocalGroupDel(), NetLocalGroupDelMembers(), NetLocalGroupEnum(), NetLocalGroupGetInfo(), NetLocalGroupGetMembers(), NetLocalGroupSetInfo(), NetQueryDisplayInformation(), NetUserAdd(), NetUserDel(), and NetUserSetInfo().
NTSTATUS OpenBuiltinDomain | ( | IN SAM_HANDLE | ServerHandle, |
IN ULONG | DesiredAccess, | ||
OUT SAM_HANDLE * | DomainHandle | ||
) |
|
extern |
Definition at line 56 of file user.c.
Referenced by AllocateEnumContext(), DllMain(), and LookupEnumContext().
|
extern |
Definition at line 57 of file user.c.
Referenced by AllocateEnumContext(), DllMain(), FreeEnumContext(), and LookupEnumContext().