1 #ifndef _INCLUDE_DDK_IOFUNCS_H
2 #define _INCLUDE_DDK_IOFUNCS_H
3 /* $Id: iofuncs.h,v 1.33 2002/09/08 10:47:44 chorns Exp $ */
5 /* --- EXPORTED BY NTOSKRNL --- */
7 /**********************************************************************
9 * IoAcquireCancelSpinLock@4
12 * Synchronizes cancelable-state transistions for IRPs in a
13 * multiprocessor-safe way.
17 * Variable to store the current IRQ level.
27 IoAcquireCancelSpinLock (
32 IoAcquireVpbSpinLock (
35 /**********************************************************************
37 * IoAllocateAdapterChannel@
40 * Allocates an adaptor object for a DMA operation on the target
45 * Adapter channel or busmaster adapter to be allocated;
48 * Target device for DMA;
50 * NumberOfMapRegisters
51 * Number of map registers;
54 * Routine to be called when the adaptor is available;
57 * Driver defined contex that will be passed to the
61 * Success or failure code.
68 IoAllocateAdapterChannel (
69 PADAPTER_OBJECT AdaperObject
,
70 PDEVICE_OBJECT DeviceObject
,
71 ULONG NumberOfMapRegisters
,
72 PDRIVER_CONTROL ExecutionRoutine
,
75 /**********************************************************************
77 * IoAllocateController@16
80 * Sets up a call to a driver supplied controller object as
81 * soon as it is available.
85 * Driver created controller object;
91 * Routine to be called;
94 * Driver determined context to be based to the
105 IoAllocateController (
106 PCONTROLLER_OBJECT ControllerObject
,
107 PDEVICE_OBJECT DeviceObject
,
108 PDRIVER_CONTROL ExecutionRoutine
,
111 /**********************************************************************
113 * IoAllocateErrorLogEntry@8
116 * Allocates an error log packet.
120 * Object which found the error;
123 * Size in bytes of the packet to be allocated.
126 * On success, a pointer to the allocated packet.
127 * On failure, it returns NULL.
131 IoAllocateErrorLogEntry (
135 /**********************************************************************
144 * Number of stack locations to allocate;
150 * On success, the allocated IRP. On failure, NULL.
158 /**********************************************************************
163 * Allocates an MDL large enough to map the supplied buffer.
167 * Base virtual address of the buffer to be mapped;
170 * Length of the buffer to be mapped;
173 * Whether the buffer is primary or secondary;
176 * Charge non-paged pool quota to current thread;
179 * Optional irp to be associated with the MDL.
182 * On success, the allocated MDL; on failure, NULL.
187 PVOID VirtualAddress
,
189 BOOLEAN SecondaryBuffer
,
194 /**********************************************************************
199 * Creates a symbolic link between the ARC name of a physical
200 * device and the name of the corresponding device object
204 * ARC name of the device
207 * Name of the device object
212 * PUNICODE_STRING ArcName,
213 * PUNICODE_STRING DeviceName
216 #define IoAssignArcName(ArcName,DeviceName) \
217 (IoCreateSymbolicLink((ArcName),(DeviceName)))
219 /**********************************************************************
221 * IoAssignResources@24
224 * Takes a list of requested hardware resources and allocates
235 * Driver object passed to the DriverEntry routine;
248 PUNICODE_STRING RegistryPath
,
249 PUNICODE_STRING DriverClassName
,
250 PDRIVER_OBJECT DriverObject
,
251 PDEVICE_OBJECT DeviceObject
,
252 PIO_RESOURCE_REQUIREMENTS_LIST RequestedResources
,
253 PCM_RESOURCE_LIST
* AllocatedResources
256 * FUNCTION: Attaches the callers device object to a named target device
258 * SourceDevice = caller's device
259 * TargetDevice = Name of the target device
260 * AttachedDevice = Caller allocated storage. On return contains
261 * a pointer to the target device
262 * RETURNS: Success or failure code
267 PDEVICE_OBJECT SourceDevice
,
268 PUNICODE_STRING TargetDevice
,
269 PDEVICE_OBJECT
* AttachedDevice
274 * SourceDevice = device to attach
275 * TargetDevice = device to be attached to
276 * RETURNS: Success or failure code
280 IoAttachDeviceByPointer (
281 PDEVICE_OBJECT SourceDevice
,
282 PDEVICE_OBJECT TargetDevice
285 * FUNCTION: Attaches the callers device to the highest device in the chain
287 * SourceDevice = caller's device
288 * TargetDevice = Device to attach
289 * RETURNS: On success the previously highest device
294 IoAttachDeviceToDeviceStack (
295 PDEVICE_OBJECT SourceDevice
,
296 PDEVICE_OBJECT TargetDevice
299 * FUNCTION: Builds a irp to be sent to lower level drivers
301 * MajorFunction = Major function code to be set in the IRP
302 * DeviceObject = Next lower device object
303 * Buffer = Buffer (only required for some major function codes)
304 * Length = Length in bytes of the buffer
305 * StartingOffset = Starting offset on the target device
306 * IoStatusBlock = Storage for status about the operation (optional)
307 * RETURNS: On success the IRP allocated
312 IoBuildAsynchronousFsdRequest (
314 PDEVICE_OBJECT DeviceObject
,
317 PLARGE_INTEGER StartingOffset
,
318 PIO_STATUS_BLOCK IoStatusBlock
321 * FUNCTION: Allocates and sets up an IRP for a device control request
323 * IoControlCode = Type of request
324 * DeviceObject = Target device
325 * InputBuffer = Optional input buffer to the driver
326 * InputBufferLength = Length of the input buffer
327 * OutputBuffer = Optional output buffer
328 * OutputBufferLength = Length of the output buffer
329 * InternalDeviceIoControl = TRUE if the request is internal
330 * Event = Initialized event for the caller to wait for the request
332 * IoStatusBlock = I/O status block to be set when the request is
334 * RETURNS: Returns the IRP created
338 IoBuildDeviceIoControlRequest (
340 PDEVICE_OBJECT DeviceObject
,
342 ULONG InputBufferLength
,
344 ULONG OutputBufferLength
,
345 BOOLEAN InternalDeviceIoControl
,
347 PIO_STATUS_BLOCK IoStatusBlock
354 PVOID VirtualAddress
,
359 IoBuildSynchronousFsdRequest (
361 PDEVICE_OBJECT DeviceObject
,
364 PLARGE_INTEGER StartingOffset
,
366 PIO_STATUS_BLOCK IoStatusBlock
371 PDEVICE_OBJECT DeviceObject
,
381 IoCheckDesiredAccess(IN OUT PACCESS_MASK DesiredAccess
,
382 IN ACCESS_MASK GrantedAccess
);
385 IoCheckEaBufferValidity(IN PFILE_FULL_EA_INFORMATION EaBuffer
,
387 OUT PULONG ErrorOffset
);
390 IoCheckFunctionAccess(IN ACCESS_MASK GrantedAccess
,
391 IN UCHAR MajorFunction
,
392 IN UCHAR MinorFunction
,
393 IN ULONG IoControlCode
,
394 IN PFILE_INFORMATION_CLASS FileInformationClass OPTIONAL
,
395 IN PFS_INFORMATION_CLASS FsInformationClass OPTIONAL
);
400 ACCESS_MASK DesiredAccess
,
401 ULONG DesiredShareAccess
,
402 PFILE_OBJECT FileObject
,
403 PSHARE_ACCESS ShareAccess
,
415 PKINTERRUPT
* InterruptObject
,
416 PKSERVICE_ROUTINE ServiceRoutine
,
417 PVOID ServiceContext
,
418 PKSPIN_LOCK SpinLock
,
421 KIRQL SynchronizeIrql
,
422 KINTERRUPT_MODE InterruptMode
,
424 KAFFINITY ProcessorEnableMask
,
434 * FUNCTION: Allocates memory for and intializes a device object for use for
437 * DriverObject : Driver object passed by iomgr when the driver was
439 * DeviceExtensionSize : Number of bytes for the device extension
440 * DeviceName : Unicode name of device
441 * DeviceType : Device type
442 * DeviceCharacteristics : Bit mask of device characteristics
443 * Exclusive : True if only one thread can access the device at a
447 * DeviceObject : Contains a pointer to allocated device object
448 * if the call succeeded
449 * NOTES: See the DDK documentation for more information
454 PDRIVER_OBJECT DriverObject
,
455 ULONG DeviceExtensionSize
,
456 PUNICODE_STRING DeviceName
,
457 DEVICE_TYPE DeviceType
,
458 ULONG DeviceCharacteristics
,
460 PDEVICE_OBJECT
* DeviceObject
465 OUT PHANDLE FileHandle
,
466 IN ACCESS_MASK DesiredAccess
,
467 IN POBJECT_ATTRIBUTES ObjectAttributes
,
468 OUT PIO_STATUS_BLOCK IoStatusBlock
,
469 IN PLARGE_INTEGER AllocationSize OPTIONAL
,
470 IN ULONG FileAttributes
,
471 IN ULONG ShareAccess
,
472 IN ULONG CreateDisposition
,
473 IN ULONG CreateOptions
,
474 IN PVOID EaBuffer OPTIONAL
,
476 IN CREATE_FILE_TYPE CreateFileType
,
477 IN PVOID ExtraCreateParameters OPTIONAL
,
482 IoCreateNotificationEvent (
483 PUNICODE_STRING EventName
,
488 IoCreateStreamFileObject (
489 PFILE_OBJECT FileObject
,
490 PDEVICE_OBJECT DeviceObject
494 IoCreateSymbolicLink (
495 PUNICODE_STRING SymbolicLinkName
,
496 PUNICODE_STRING DeviceName
500 IoCreateSynchronizationEvent (
501 PUNICODE_STRING EventName
,
506 IoCreateUnprotectedSymbolicLink (
507 PUNICODE_STRING SymbolicLinkName
,
508 PUNICODE_STRING DeviceName
513 * Deletes a symbolic link between the ARC name of a physical
514 * device and the name of the corresponding device object
517 * ArcName = ARC name of the device
521 * IoDeassignArcName (
522 * PUNICODE_STRING ArcName
525 #define IoDeassignArcName(ArcName) \
526 (IoDeleteSymbolicLink((ArcName)))
531 PCONTROLLER_OBJECT ControllerObject
536 PDEVICE_OBJECT DeviceObject
540 IoDeleteSymbolicLink (
541 PUNICODE_STRING SymbolicLinkName
546 PDEVICE_OBJECT TargetDevice
550 IoDisconnectInterrupt (
551 PKINTERRUPT InterruptObject
560 IoFastQueryNetworkAttributes(IN POBJECT_ATTRIBUTES ObjectAttributes
,
561 IN ACCESS_MASK DesiredAccess
,
562 IN ULONG OpenOptions
,
563 OUT PIO_STATUS_BLOCK IoStatus
,
564 OUT PFILE_NETWORK_OPEN_INFORMATION Buffer
);
569 PCONTROLLER_OBJECT ControllerObject
583 IoGetAttachedDevice (
584 PDEVICE_OBJECT DeviceObject
588 IoGetAttachedDeviceReference (
589 PDEVICE_OBJECT DeviceObject
593 IoGetBaseFileSystemDeviceObject (
594 IN PFILE_OBJECT FileObject
596 PCONFIGURATION_INFORMATION
598 IoGetConfigurationInformation (
603 * FUNCTION: Gets a pointer to the callers location in the I/O stack in
606 * Irp = Points to the IRP
607 * RETURNS: A pointer to the stack location
611 * IoGetCurrentIrpStackLocation (PIRP Irp)
613 #define IoGetCurrentIrpStackLocation(Irp) \
614 ((Irp)->Tail.Overlay.CurrentStackLocation)
616 #define IoSetNextIrpStackLocation(Irp) { \
617 (Irp)->CurrentLocation--; \
618 (Irp)->Tail.Overlay.CurrentStackLocation--; }
620 #define IoCopyCurrentIrpStackLocationToNext(Irp) { \
621 PIO_STACK_LOCATION IrpSp; \
622 PIO_STACK_LOCATION NextIrpSp; \
623 IrpSp = IoGetCurrentIrpStackLocation((Irp)); \
624 NextIrpSp = IoGetNextIrpStackLocation((Irp)); \
625 RtlCopyMemory(NextIrpSp, IrpSp, \
626 FIELD_OFFSET(IO_STACK_LOCATION, CompletionRoutine)); \
627 NextIrpSp->Control = 0; }
629 #define IoSkipCurrentIrpStackLocation(Irp) \
630 (Irp)->CurrentLocation++; \
631 (Irp)->Tail.Overlay.CurrentStackLocation++;
635 IoGetCurrentProcess (
640 IoGetDeviceObjectPointer (
641 PUNICODE_STRING ObjectName
,
642 ACCESS_MASK DesiredAccess
,
643 PFILE_OBJECT
* FileObject
,
644 PDEVICE_OBJECT
* DeviceObject
648 IoGetDeviceToVerify (
649 struct _ETHREAD
* Thread
653 IoGetFileObjectGenericMapping (
657 #define IoGetFunctionCodeFromCtlCode(ControlCode) \
658 ((ControlCode >> 2) & 0x00000FFF)
667 * FUNCTION: Gives a higher level driver access to the next lower driver's
670 * Irp = points to the irp
671 * RETURNS: A pointer to the stack location
675 * IoGetNextIrpStackLocation (PIRP Irp)
677 #define IoGetNextIrpStackLocation(Irp) \
678 ((Irp)->Tail.Overlay.CurrentStackLocation-1)
683 IoGetRelatedDeviceObject (
684 PFILE_OBJECT FileObject
688 IoGetRequestorProcess (
705 #define IoInitializeDpcRequest(DeviceObject,DpcRoutine) \
706 (KeInitializeDpc(&(DeviceObject)->Dpc, \
707 (PKDEFERRED_ROUTINE)(DpcRoutine), \
711 * FUNCTION: Initalizes an irp allocated by the caller
713 * Irp = IRP to initalize
714 * PacketSize = Size in bytes of the IRP
715 * StackSize = Number of stack locations in the IRP
727 PDEVICE_OBJECT DeviceObject
,
728 PIO_TIMER_ROUTINE TimerRoutine
,
735 * IsErrorUserInduced (NTSTATUS Status)
737 #define IoIsErrorUserInduced(Status) \
738 ((BOOLEAN)(((Status) == STATUS_DEVICE_NOT_READY) || \
739 ((Status) == STATUS_IO_TIMEOUT) || \
740 ((Status) == STATUS_MEDIA_WRITE_PROTECTED) || \
741 ((Status) == STATUS_NO_MEDIA_IN_DRIVE) || \
742 ((Status) == STATUS_VERIFY_REQUIRED) || \
743 ((Status) == STATUS_UNRECOGNIZED_MEDIA) || \
744 ((Status) == STATUS_WRONG_VOLUME)))
748 IoIsOperationSynchronous (
758 IoMakeAssociatedIrp (
764 * FUNCTION: Marks the specified irp, indicating further processing will
765 * be required by other driver routines
770 * IoMarkIrpPending (PIRP Irp)
772 #define IoMarkIrpPending(Irp) \
773 (IoGetCurrentIrpStackLocation(Irp)->Control |= SL_PENDING_RETURNED)
778 IoOpenDeviceInstanceKey (
787 IoQueryDeviceDescription (
788 PINTERFACE_TYPE BusType
,
790 PCONFIGURATION_TYPE ControllerType
,
791 PULONG ControllerNumber
,
792 PCONFIGURATION_TYPE PeripheralType
,
793 PULONG PeripheralNumber
,
794 PIO_QUERY_DEVICE_ROUTINE CalloutRoutine
,
799 IoQueryDeviceEnumInfo (
803 // IoQueryFileInformation: confirmed - Undocumented because it does not require a valid file handle
806 IoQueryFileInformation (
807 IN PFILE_OBJECT FileObject
,
808 IN FILE_INFORMATION_CLASS FileInformationClass
,
810 OUT PVOID FileInformation
,
811 OUT PULONG ReturnedLength
815 IoQueryVolumeInformation (
816 IN PFILE_OBJECT FileObject
,
817 IN FS_INFORMATION_CLASS FsInformationClass
,
819 OUT PVOID FsInformation
,
820 OUT PULONG ReturnedLength
832 PDEVICE_OBJECT RealDeviceObject
836 IoRaiseInformationalHardError (
837 NTSTATUS ErrorStatus
,
838 PUNICODE_STRING String
,
839 struct _KTHREAD
* Thread
843 IoRegisterDriverReinitialization (
844 PDRIVER_OBJECT DriverObject
,
845 PDRIVER_REINITIALIZE ReinitRoutine
,
850 IoRegisterFileSystem (
851 PDEVICE_OBJECT DeviceObject
853 #if (_WIN32_WINNT >= 0x0400)
856 IoRegisterFsRegistrationChange (
857 IN PDRIVER_OBJECT DriverObject
,
858 IN PFSDNOTIFICATIONPROC FSDNotificationProc
860 #endif // (_WIN32_WINNT >= 0x0400)
863 IoRegisterShutdownNotification (
864 PDEVICE_OBJECT DeviceObject
868 IoReleaseCancelSpinLock (
873 IoReleaseVpbSpinLock (
878 IoRemoveShareAccess (
879 PFILE_OBJECT FileObject
,
880 PSHARE_ACCESS ShareAccess
884 IoReportHalResourceUsage (
885 IN PUNICODE_STRING HalDescription
,
886 IN PCM_RESOURCE_LIST RawList
,
887 IN PCM_RESOURCE_LIST TranslatedList
,
892 IoReportResourceUsage (
893 PUNICODE_STRING DriverClassName
,
894 PDRIVER_OBJECT DriverObject
,
895 PCM_RESOURCE_LIST DriverList
,
896 ULONG DriverListSize
,
897 PDEVICE_OBJECT DeviceObject
,
898 PCM_RESOURCE_LIST DeviceList
,
899 ULONG DeviceListSize
,
900 BOOLEAN OverrideConflict
,
901 PBOOLEAN ConflictDetected
904 #define IoRequestDpc(DeviceObject,Irp,Context) \
905 (KeInsertQueueDpc(&(DeviceObject)->Dpc,(Irp),(Context)))
907 #define IoSetCancelRoutine(Irp,NewCancelRoutine) \
908 ((PDRIVER_CANCEL)InterlockedExchange((PULONG)&(Irp)->CancelRoutine, \
909 (ULONG)(NewCancelRoutine)));
911 #define IoSetCompletionRoutine(Irp,Routine,Context,Success,Error,Cancel) \
913 PIO_STACK_LOCATION param; \
914 assert((Success)||(Error)||(Cancel)?(Routine)!=NULL:TRUE); \
915 param = IoGetNextIrpStackLocation((Irp)); \
916 param->CompletionRoutine=(Routine); \
917 param->CompletionContext=(Context); \
918 param->Control = 0; \
920 param->Control = SL_INVOKE_ON_SUCCESS; \
922 param->Control |= SL_INVOKE_ON_ERROR; \
924 param->Control |= SL_INVOKE_ON_CANCEL; \
928 IoSetDeviceToVerify (IN
struct _ETHREAD
* Thread
,
929 IN PDEVICE_OBJECT DeviceObject
);
932 IoSetHardErrorOrVerifyDevice (
934 IN PDEVICE_OBJECT DeviceObject
939 IN PFILE_OBJECT FileObject
,
940 IN FILE_INFORMATION_CLASS FileInformationClass
,
942 OUT PVOID FileInformation
945 #define IoSetNextIrpStackLocation(Irp) \
947 (Irp)->CurrentLocation--; \
948 (Irp)->Tail.Overlay.CurrentStackLocation--; \
954 ACCESS_MASK DesiredAccess
,
955 ULONG DesiredShareAccess
,
956 PFILE_OBJECT FileObject
,
957 PSHARE_ACCESS ShareAccess
961 IoSetThreadHardErrorMode (
962 IN BOOLEAN HardErrorEnabled
971 * FUNCTION: Determines the size of an IRP
973 * StackSize = number of stack locations in the IRP
974 * RETURNS: The size of the IRP in bytes
976 IoSizeOfIrp (CCHAR StackSize)
978 #define IoSizeOfIrp(StackSize) \
979 ((USHORT)(sizeof(IRP)+(((StackSize)-1)*sizeof(IO_STACK_LOCATION))))
983 #define IoSizeOfIrp(StackSize) \
984 ((USHORT)(sizeof(IRP)+((StackSize)*sizeof(IO_STACK_LOCATION))))
988 * FUNCTION: Dequeues the next IRP from the device's associated queue and
989 * calls its StartIo routine
991 * DeviceObject = Device object
992 * Cancelable = True if IRPs in the queue can be cancelled
997 PDEVICE_OBJECT DeviceObject
,
1002 IoStartNextPacketByKey (
1003 PDEVICE_OBJECT DeviceObject
,
1008 * FUNCTION: Calls the drivers StartIO routine with the IRP or queues it if
1009 * the device is busy
1011 * DeviceObject = Device to pass the IRP to
1012 * Irp = Irp to be processed
1013 * Key = Optional value for where to insert the IRP
1014 * CancelFunction = Entry point for a driver supplied cancel function
1019 PDEVICE_OBJECT DeviceObject
,
1022 PDRIVER_CANCEL CancelFunction
1027 PDEVICE_OBJECT DeviceObject
1032 PDEVICE_OBJECT DeviceObject
1036 IoPageRead(PFILE_OBJECT FileObject
,
1038 PLARGE_INTEGER Offset
,
1040 PIO_STATUS_BLOCK StatusBlock
);
1043 IoSynchronousPageWrite (PFILE_OBJECT FileObject
,
1045 PLARGE_INTEGER Offset
,
1047 PIO_STATUS_BLOCK StatusBlock
);
1049 struct _EPROCESS
* STDCALL
IoThreadToProcess (struct _ETHREAD
* Thread
);
1052 IoUnregisterFileSystem (
1053 IN PDEVICE_OBJECT DeviceObject
1055 #if (_WIN32_WINNT >= 0x0400)
1058 IoUnregisterFsRegistrationChange (
1059 IN PDRIVER_OBJECT DriverObject
,
1060 IN PFSDNOTIFICATIONPROC FSDNotificationProc
1062 #endif // (_WIN32_WINNT >= 0x0400)
1065 IoUnregisterShutdownNotification (
1066 IN PDEVICE_OBJECT DeviceObject
1070 IoUpdateShareAccess (
1071 IN PFILE_OBJECT FileObject
,
1072 IN PSHARE_ACCESS ShareAccess
1077 IN PDEVICE_OBJECT DeviceObject
,
1078 IN BOOLEAN AllowRawMount
1082 IoWriteErrorLogEntry (
1086 * FUNCTION: Sends an irp to the next lower driver
1091 PDEVICE_OBJECT DeviceObject
,
1095 * FUNCTION: Indicates the caller has finished all processing for a given
1096 * I/O request and is returning the given IRP to the I/O manager
1098 * Irp = Irp to be cancelled
1099 * PriorityBoost = Increment by which to boost the priority of the
1100 * thread making the request
1104 IofCompleteRequest (
1109 /* --- EXPORTED BY HAL --- */
1113 IoAssignDriveLetters (
1114 IN PLOADER_PARAMETER_BLOCK LoaderBlock
,
1115 IN PSTRING NtDeviceName
,
1116 OUT PUCHAR NtSystemPath
,
1117 OUT PSTRING NtSystemPathString
1122 IoFlushAdapterBuffers (
1123 PADAPTER_OBJECT AdapterObject
,
1125 PVOID MapRegisterBase
,
1128 BOOLEAN WriteToDevice
1133 IoFreeAdapterChannel (
1134 PADAPTER_OBJECT AdapterObject
1139 IoFreeMapRegisters (
1140 PADAPTER_OBJECT AdapterObject
,
1141 PVOID MapRegisterBase
,
1142 ULONG NumberOfMapRegisters
1148 PADAPTER_OBJECT AdapterObject
,
1150 PVOID MapRegisterBase
,
1153 BOOLEAN WriteToDevice
1158 IoReadPartitionTable (
1159 PDEVICE_OBJECT DeviceObject
,
1161 BOOLEAN ReturnedRecognizedPartitions
,
1162 PDRIVE_LAYOUT_INFORMATION
* PartitionBuffer
1167 IoSetPartitionInformation (
1168 PDEVICE_OBJECT DeviceObject
,
1170 ULONG PartitionNumber
,
1176 IoWritePartitionTable (
1177 PDEVICE_OBJECT DeviceObject
,
1179 ULONG SectorsPerTrack
,
1180 ULONG NumberOfHeads
,
1181 PDRIVE_LAYOUT_INFORMATION PartitionBuffer
1185 /* --- --- --- INTERNAL or REACTOS ONLY --- --- --- */
1188 * FUNCTION: Registers the driver with WMI
1190 * DeviceObject = Device to register
1191 * Action = Action to take
1192 * RETURNS: Status (?)
1196 IoWMIRegistrationControl (
1197 PDEVICE_OBJECT DeviceObject,
1198 WMIREGACTION Action);
1202 IoIsTotalDeviceFailure (
1207 #endif /* ndef _INCLUDE_DDK_IOFUNCS_H */