2012-11-05 22:51:08 +00:00
|
|
|
#ifndef __WINE_NETAPI32_H__
|
|
|
|
#define __WINE_NETAPI32_H__
|
|
|
|
|
2014-01-24 20:24:47 +00:00
|
|
|
#include <wine/config.h>
|
|
|
|
|
2012-12-26 21:07:13 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#define WIN32_NO_STATUS
|
2014-01-24 20:24:47 +00:00
|
|
|
#define _INC_WINDOWS
|
|
|
|
#define COM_NO_WINDOWS_H
|
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
|
|
|
#include <lmaccess.h>
|
|
|
|
#include <lmapibuf.h>
|
|
|
|
#include <lmerr.h>
|
|
|
|
#include <ntsecapi.h>
|
2014-01-24 20:24:47 +00:00
|
|
|
#include <nb30.h>
|
|
|
|
#include <iphlpapi.h>
|
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <wine/debug.h>
|
2014-05-03 12:53:58 +00:00
|
|
|
#include <wine/unicode.h>
|
2012-12-26 21:07:13 +00:00
|
|
|
|
|
|
|
#define NTOS_MODE_USER
|
|
|
|
#include <ndk/rtlfuncs.h>
|
2014-01-24 20:24:47 +00:00
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <ntsam.h>
|
2012-12-26 21:07:13 +00:00
|
|
|
|
2014-01-24 20:24:47 +00:00
|
|
|
#include "nbnamecache.h"
|
|
|
|
#include "netbios.h"
|
2012-12-26 21:07:13 +00:00
|
|
|
|
2012-11-05 22:51:08 +00:00
|
|
|
NET_API_STATUS
|
|
|
|
WINAPI
|
|
|
|
NetpNtStatusToApiStatus(NTSTATUS Status);
|
|
|
|
|
2012-12-23 18:56:13 +00:00
|
|
|
/* misc.c */
|
|
|
|
|
|
|
|
NTSTATUS
|
2012-12-24 12:48:39 +00:00
|
|
|
GetAccountDomainSid(IN PUNICODE_STRING ServerName,
|
|
|
|
OUT PSID *AccountDomainSid);
|
2012-12-23 18:56:13 +00:00
|
|
|
|
|
|
|
NTSTATUS
|
2012-12-24 12:48:39 +00:00
|
|
|
GetBuiltinDomainSid(OUT PSID *BuiltinDomainSid);
|
2012-11-05 22:51:08 +00:00
|
|
|
|
2012-12-26 21:07:13 +00:00
|
|
|
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);
|
|
|
|
|
2013-06-09 09:40:24 +00:00
|
|
|
NET_API_STATUS
|
|
|
|
BuildSidFromSidAndRid(IN PSID SrcSid,
|
|
|
|
IN ULONG RelativeId,
|
|
|
|
OUT PSID *DestSid);
|
|
|
|
|
2013-06-13 21:20:45 +00:00
|
|
|
/* wksta.c */
|
|
|
|
|
|
|
|
BOOL
|
|
|
|
NETAPI_IsLocalComputer(LMCSTR ServerName);
|
|
|
|
|
2014-01-24 20:24:47 +00:00
|
|
|
#endif /* __WINE_NETAPI32_H__ */
|