Correct prototype for NtGetPlugPlayEvent and use the ntpnp.h header.

svn path=/trunk/; revision=13384
This commit is contained in:
Filip Navara 2005-02-01 17:54:25 +00:00
parent 6705201337
commit 02f0f81fc0
3 changed files with 2 additions and 18 deletions

View file

@ -4929,21 +4929,6 @@ ZwYieldExecution(
VOID
);
/* --- PLUG AND PLAY --- */
NTSTATUS
STDCALL
NtPlugPlayControl(IN ULONG ControlCode,
IN OUT PVOID Buffer,
IN ULONG BufferLength);
NTSTATUS
STDCALL
NtGetPlugPlayEvent(IN ULONG Reserved1,
IN ULONG Reserved2,
OUT PVOID Buffer,
IN ULONG BufferLength);
/* --- POWER MANAGEMENT --- */
#ifndef __USE_W32API

View file

@ -20,6 +20,7 @@
#include <ntos/synch.h>
#include <ntos/keyboard.h>
#include <ntos/ntdef.h>
#include <ntos/ntpnp.h>
#include <rosrtl/minmax.h>
#include <rosrtl/string.h>
#include <ddk/halfuncs.h>

View file

@ -15,13 +15,11 @@
#define NDEBUG
#include <internal/debug.h>
/* GLOBALS *******************************************************************/
static LIST_ENTRY IopPnpEventListHead;
static KEVENT IopPnpNotifyEvent;
/* FUNCTIONS *****************************************************************/
NTSTATUS INIT_FUNCTION
@ -67,7 +65,7 @@ IopDequeuePlugPlayEvent(VOID)
NTSTATUS STDCALL
NtGetPlugPlayEvent(IN ULONG Reserved1,
IN ULONG Reserved2,
OUT PVOID Buffer,
OUT PPLUGPLAY_EVENT_BLOCK Buffer,
IN ULONG BufferLength)
{
NTSTATUS Status;