mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
Build eventlog, umpnpmgr, rpcss with NDK
svn path=/trunk/; revision=16252
This commit is contained in:
parent
64016b704d
commit
7f2ec8aa5d
|
@ -734,7 +734,34 @@ typedef VOID NTAPI
|
|||
typedef struct _OBJECT_NAME_INFORMATION
|
||||
{
|
||||
UNICODE_STRING Name;
|
||||
} OBJECT_NAME_INFORMATION, *POBJECT_NAME_INFORMATION;
|
||||
} OBJECT_NAME_INFORMATION, *POBJECT_NAME_INFORMATION;
|
||||
|
||||
typedef struct _IO_ERROR_LOG_PACKET
|
||||
{
|
||||
UCHAR MajorFunctionCode;
|
||||
UCHAR RetryCount;
|
||||
USHORT DumpDataSize;
|
||||
USHORT NumberOfStrings;
|
||||
USHORT StringOffset;
|
||||
USHORT EventCategory;
|
||||
NTSTATUS ErrorCode;
|
||||
ULONG UniqueErrorValue;
|
||||
NTSTATUS FinalStatus;
|
||||
ULONG SequenceNumber;
|
||||
ULONG IoControlCode;
|
||||
LARGE_INTEGER DeviceOffset;
|
||||
ULONG DumpData[1];
|
||||
}IO_ERROR_LOG_PACKET, *PIO_ERROR_LOG_PACKET;
|
||||
|
||||
typedef struct _IO_ERROR_LOG_MESSAGE
|
||||
{
|
||||
USHORT Type;
|
||||
USHORT Size;
|
||||
USHORT DriverNameLength;
|
||||
LARGE_INTEGER TimeStamp;
|
||||
ULONG DriverNameOffset;
|
||||
IO_ERROR_LOG_PACKET EntryData;
|
||||
} IO_ERROR_LOG_MESSAGE, *PIO_ERROR_LOG_MESSAGE;
|
||||
|
||||
typedef struct _CLIENT_ID
|
||||
{
|
||||
|
|
|
@ -106,7 +106,7 @@ typedef struct _PLUGPLAY_EVENT_BLOCK {
|
|||
PULONG Result;
|
||||
ULONG Flags;
|
||||
ULONG TotalSize;
|
||||
PDEVICE_OBJECT DeviceObject;
|
||||
PVOID DeviceObject;
|
||||
union {
|
||||
struct {
|
||||
GUID ClassGuid;
|
||||
|
|
|
@ -144,6 +144,8 @@ typedef struct _OBJECT_DIRECTORY {
|
|||
ULONG SessionId;
|
||||
} OBJECT_DIRECTORY, *POBJECT_DIRECTORY;
|
||||
|
||||
#endif /* __USE_W32API */
|
||||
|
||||
typedef struct _DEVICE_MAP {
|
||||
POBJECT_DIRECTORY DosDevicesDirectory;
|
||||
POBJECT_DIRECTORY GlobalDosDevicesDirectory;
|
||||
|
@ -152,8 +154,6 @@ typedef struct _DEVICE_MAP {
|
|||
UCHAR DriveType[32];
|
||||
} DEVICE_MAP, *PDEVICE_MAP;
|
||||
|
||||
#endif /* __USE_W32API */
|
||||
|
||||
extern POBJECT_TYPE ObDirectoryType;
|
||||
extern PDEVICE_MAP ObSystemDeviceMap;
|
||||
|
||||
|
|
|
@ -26,10 +26,9 @@
|
|||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/ntndk.h>
|
||||
|
||||
#include "eventlog.h"
|
||||
|
||||
|
|
|
@ -26,10 +26,9 @@
|
|||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
#include <windows.h>
|
||||
#include <string.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/ntndk.h>
|
||||
|
||||
#include "eventlog.h"
|
||||
|
||||
|
|
|
@ -29,10 +29,9 @@
|
|||
|
||||
#define UNICODE
|
||||
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/ntndk.h>
|
||||
#include "rpcss.h"
|
||||
|
||||
//#include "services.h"
|
||||
|
|
|
@ -27,24 +27,20 @@
|
|||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
#include <ntos/ntpnp.h>
|
||||
#include <ddk/wdmguid.h>
|
||||
#include <windows.h>
|
||||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/ntndk.h>
|
||||
#include <ddk/wdmguid.h>
|
||||
|
||||
#include <rpc.h>
|
||||
#include <rpcdce.h>
|
||||
#include <ntos/ntpnp.h>
|
||||
|
||||
#include "pnp_c.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
||||
|
||||
/* GLOBALS ******************************************************************/
|
||||
|
||||
static VOID CALLBACK
|
||||
|
@ -52,7 +48,7 @@ ServiceMain(DWORD argc, LPTSTR *argv);
|
|||
|
||||
static SERVICE_TABLE_ENTRY ServiceTable[2] =
|
||||
{
|
||||
{_T("PlugPlay"), ServiceMain},
|
||||
{TEXT("PlugPlay"), ServiceMain},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue