reactos/dll/win32/netapi32/netapi32.h
Hermès Bélusca-Maïto e1ef078741 Create this branch to work on loading of different Kernel-Debugger DLL providers, and see whether it is possible to move KDBG from ntoskrnl to a new DLL called, say, KDROSDBG.DLL.
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line):

/DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible.
/DEBUGPORT=FOO  --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...)
/DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port.

svn path=/branches/kd++/; revision=58883
2013-04-28 13:26:45 +00:00

55 lines
1.1 KiB
C

#ifndef __WINE_NETAPI32_H__
#define __WINE_NETAPI32_H__
#include <stdarg.h>
//#include "ntstatus.h"
#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
//#include "winerror.h"
//#include "lmcons.h"
#include <lmaccess.h>
#include <lmapibuf.h>
#include <lmbrowsr.h>
#include <lmerr.h>
//#include "lmshare.h"
//#include "lmuse.h"
#include <ntsecapi.h>
#include <dsrole.h>
#include <dsgetdc.h>
#include <wine/debug.h>
//#include "wine/unicode.h"
#include <wine/list.h>
#define NTOS_MODE_USER
#include <ndk/rtlfuncs.h>
#include <ntsam.h>
NET_API_STATUS
WINAPI
NetpNtStatusToApiStatus(NTSTATUS Status);
/* misc.c */
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);
#endif