Process Hacker
ntpnpapi.h File Reference

Go to the source code of this file.

Data Structures

struct  _PLUGPLAY_EVENT_BLOCK
 

Typedefs

typedef enum
_PLUGPLAY_EVENT_CATEGORY 
PLUGPLAY_EVENT_CATEGORY
 
typedef enum
_PLUGPLAY_EVENT_CATEGORY
PPLUGPLAY_EVENT_CATEGORY
 
typedef struct
_PLUGPLAY_EVENT_BLOCK 
PLUGPLAY_EVENT_BLOCK
 
typedef struct
_PLUGPLAY_EVENT_BLOCK
PPLUGPLAY_EVENT_BLOCK
 
typedef enum
_PLUGPLAY_CONTROL_CLASS 
PLUGPLAY_CONTROL_CLASS
 
typedef enum
_PLUGPLAY_CONTROL_CLASS
PPLUGPLAY_CONTROL_CLASS
 

Enumerations

enum  _PLUGPLAY_EVENT_CATEGORY {
  HardwareProfileChangeEvent, TargetDeviceChangeEvent, DeviceClassChangeEvent, CustomDeviceEvent,
  DeviceInstallEvent, DeviceArrivalEvent, PowerEvent, VetoEvent,
  BlockedDriverEvent, InvalidIDEvent, MaxPlugEventCategory
}
 
enum  _PLUGPLAY_CONTROL_CLASS {
  PlugPlayControlEnumerateDevice, PlugPlayControlRegisterNewDevice, PlugPlayControlDeregisterDevice, PlugPlayControlInitializeDevice,
  PlugPlayControlStartDevice, PlugPlayControlUnlockDevice, PlugPlayControlQueryAndRemoveDevice, PlugPlayControlUserResponse,
  PlugPlayControlGenerateLegacyDevice, PlugPlayControlGetInterfaceDeviceList, PlugPlayControlProperty, PlugPlayControlDeviceClassAssociation,
  PlugPlayControlGetRelatedDevice, PlugPlayControlGetInterfaceDeviceAlias, PlugPlayControlDeviceStatus, PlugPlayControlGetDeviceDepth,
  PlugPlayControlQueryDeviceRelations, PlugPlayControlTargetDeviceRelation, PlugPlayControlQueryConflictList, PlugPlayControlRetrieveDock,
  PlugPlayControlResetDevice, PlugPlayControlHaltDevice, PlugPlayControlGetBlockedDriverList, MaxPlugPlayControl
}
 

Functions

NTSYSCALLAPI NTSTATUS NTAPI NtPlugPlayControl (_In_ PLUGPLAY_CONTROL_CLASS PnPControlClass, _Inout_updates_bytes_(PnPControlDataLength) PVOID PnPControlData, _In_ ULONG PnPControlDataLength)
 
NTSYSCALLAPI NTSTATUS NTAPI NtSerializeBoot (VOID)
 
NTSYSCALLAPI NTSTATUS NTAPI NtEnableLastKnownGood (VOID)
 
NTSYSCALLAPI NTSTATUS NTAPI NtDisableLastKnownGood (VOID)
 
NTSYSCALLAPI NTSTATUS NTAPI NtReplacePartitionUnit (_In_ PUNICODE_STRING TargetInstancePath, _In_ PUNICODE_STRING SpareInstancePath, _In_ ULONG Flags)
 

Typedef Documentation

Enumeration Type Documentation

Enumerator:
PlugPlayControlEnumerateDevice 
PlugPlayControlRegisterNewDevice 
PlugPlayControlDeregisterDevice 
PlugPlayControlInitializeDevice 
PlugPlayControlStartDevice 
PlugPlayControlUnlockDevice 
PlugPlayControlQueryAndRemoveDevice 
PlugPlayControlUserResponse 
PlugPlayControlGenerateLegacyDevice 
PlugPlayControlGetInterfaceDeviceList 
PlugPlayControlProperty 
PlugPlayControlDeviceClassAssociation 
PlugPlayControlGetRelatedDevice 
PlugPlayControlGetInterfaceDeviceAlias 
PlugPlayControlDeviceStatus 
PlugPlayControlGetDeviceDepth 
PlugPlayControlQueryDeviceRelations 
PlugPlayControlTargetDeviceRelation 
PlugPlayControlQueryConflictList 
PlugPlayControlRetrieveDock 
PlugPlayControlResetDevice 
PlugPlayControlHaltDevice 
PlugPlayControlGetBlockedDriverList 
MaxPlugPlayControl 

Definition at line 73 of file ntpnpapi.h.

Enumerator:
HardwareProfileChangeEvent 
TargetDeviceChangeEvent 
DeviceClassChangeEvent 
CustomDeviceEvent 
DeviceInstallEvent 
DeviceArrivalEvent 
PowerEvent 
VetoEvent 
BlockedDriverEvent 
InvalidIDEvent 
MaxPlugEventCategory 

Definition at line 4 of file ntpnpapi.h.

Function Documentation

NTSYSCALLAPI NTSTATUS NTAPI NtDisableLastKnownGood ( VOID  )
NTSYSCALLAPI NTSTATUS NTAPI NtEnableLastKnownGood ( VOID  )
NTSYSCALLAPI NTSTATUS NTAPI NtPlugPlayControl ( _In_ PLUGPLAY_CONTROL_CLASS  PnPControlClass,
_Inout_updates_bytes_(PnPControlDataLength) PVOID  PnPControlData,
_In_ ULONG  PnPControlDataLength 
)
NTSYSCALLAPI NTSTATUS NTAPI NtReplacePartitionUnit ( _In_ PUNICODE_STRING  TargetInstancePath,
_In_ PUNICODE_STRING  SpareInstancePath,
_In_ ULONG  Flags 
)
NTSYSCALLAPI NTSTATUS NTAPI NtSerializeBoot ( VOID  )