mirror of
https://github.com/reactos/reactos.git
synced 2024-09-14 06:42:52 +00:00
Correct prototype for NtGetPlugPlayEvent and use the ntpnp.h header.
svn path=/trunk/; revision=13384
This commit is contained in:
parent
6705201337
commit
02f0f81fc0
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue