Something went wrong. Try again.
Reactos
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103#ifndef __WINE_NETAPI32_H__#define __WINE_NETAPI32_H__
#include <wine/config.h>
#include <limits.h>#include <stdarg.h>
#define WIN32_NO_STATUS#define _INC_WINDOWS#define COM_NO_WINDOWS_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>
#define NTOS_MODE_USER#include <ndk/rtlfuncs.h>
#include <ntsam.h>
#include "nbnamecache.h"#include "netbios.h"
extern LIST_ENTRY g_EnumContextListHead;extern CRITICAL_SECTION g_EnumContextListLock;
/* misc.c */
NTSTATUSGetAccountDomainSid(IN PUNICODE_STRING ServerName, OUT PSID *AccountDomainSid);
NTSTATUSGetBuiltinDomainSid(OUT PSID *BuiltinDomainSid);
NTSTATUSOpenAccountDomain(IN SAM_HANDLE ServerHandle, IN PUNICODE_STRING ServerName, IN ULONG DesiredAccess, OUT PSAM_HANDLE DomainHandle);
NTSTATUSOpenBuiltinDomain(IN SAM_HANDLE ServerHandle, IN ULONG DesiredAccess, OUT SAM_HANDLE *DomainHandle);
NET_API_STATUSBuildSidFromSidAndRid(IN PSID SrcSid, IN ULONG RelativeId, OUT PSID *DestSid);
VOIDCopySidFromSidAndRid( _Out_ PSID DstSid, _In_ PSID SrcSid, _In_ ULONG RelativeId);
PSTRWINAPINetpAllocAnsiStrFromWStr( _In_ PWSTR InString);
PSTRWINAPINetpAllocStrFromWStr( _In_ PWSTR InString);
PWSTRWINAPINetpAllocWStrFromAnsiStr( _In_ PSTR InString);
PWSTRWINAPINetpAllocWStrFromStr( _In_ PSTR InString);
PWSTRWINAPINetpAllocWStrFromWStr( _In_ PWSTR InString);
NET_API_STATUSWINAPINetpNtStatusToApiStatus( _In_ NTSTATUS Status);
/* wksta.c */
BOOLNETAPI_IsLocalComputer(LMCSTR ServerName);
#endif /* __WINE_NETAPI32_H__ */