1 #ifndef __WINE_NETAPI32_H__ 2 #define __WINE_NETAPI32_H__ 3 4 #include <wine/config.h> 5 6 #include <stdarg.h> 7 8 #define WIN32_NO_STATUS 9 #define _INC_WINDOWS 10 #define COM_NO_WINDOWS_H 11 12 #include <windef.h> 13 #include <winbase.h> 14 #include <lmaccess.h> 15 #include <lmapibuf.h> 16 #include <lmerr.h> 17 #include <ntsecapi.h> 18 #include <nb30.h> 19 #include <iphlpapi.h> 20 21 #include <wine/debug.h> 22 #include <wine/unicode.h> 23 24 #define NTOS_MODE_USER 25 #include <ndk/rtlfuncs.h> 26 27 #include <ntsam.h> 28 29 #include "nbnamecache.h" 30 #include "netbios.h" 31 32 NET_API_STATUS 33 WINAPI 34 NetpNtStatusToApiStatus(NTSTATUS Status); 35 36 /* misc.c */ 37 38 NTSTATUS 39 GetAccountDomainSid(IN PUNICODE_STRING ServerName, 40 OUT PSID *AccountDomainSid); 41 42 NTSTATUS 43 GetBuiltinDomainSid(OUT PSID *BuiltinDomainSid); 44 45 NTSTATUS 46 OpenAccountDomain(IN SAM_HANDLE ServerHandle, 47 IN PUNICODE_STRING ServerName, 48 IN ULONG DesiredAccess, 49 OUT PSAM_HANDLE DomainHandle); 50 51 NTSTATUS 52 OpenBuiltinDomain(IN SAM_HANDLE ServerHandle, 53 IN ULONG DesiredAccess, 54 OUT SAM_HANDLE *DomainHandle); 55 56 NET_API_STATUS 57 BuildSidFromSidAndRid(IN PSID SrcSid, 58 IN ULONG RelativeId, 59 OUT PSID *DestSid); 60 61 /* wksta.c */ 62 63 BOOL 64 NETAPI_IsLocalComputer(LMCSTR ServerName); 65 66 #endif /* __WINE_NETAPI32_H__ */ 67