reactos/include/ddk
diff -u -r1.43 -r1.44
--- kefuncs.h 23 Jun 2004 22:21:26 -0000 1.43
+++ kefuncs.h 21 Aug 2004 12:12:35 -0000 1.44
@@ -538,52 +538,52 @@
/* Stubs Start here */
-STDCALL
VOID
+STDCALL
KeReleaseInterruptSpinLock(
IN PKINTERRUPT Interrupt,
IN KIRQL OldIrql
);
-STDCALL
BOOLEAN
+STDCALL
KeAreApcsDisabled(
VOID
);
-STDCALL
VOID
+STDCALL
KeFlushQueuedDpcs(
VOID
);
-STDCALL
ULONG
+STDCALL
KeGetRecommendedSharedDataAlignment(
VOID
);
-STDCALL
ULONG
+STDCALL
KeQueryRuntimeThread(
IN PKTHREAD Thread,
OUT PULONG UserTime
);
-STDCALL
BOOLEAN
+STDCALL
KeSetKernelStackSwapEnable(
IN BOOLEAN Enable
);
-STDCALL
BOOLEAN
+STDCALL
KeDeregisterBugCheckReasonCallback(
IN PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord
);
-STDCALL
BOOLEAN
+STDCALL
KeRegisterBugCheckReasonCallback(
IN PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord,
IN PKBUGCHECK_REASON_CALLBACK_ROUTINE CallbackRoutine,
@@ -591,27 +591,27 @@
IN PUCHAR Component
);
-STDCALL
VOID
+STDCALL
KeTerminateThread(
IN KPRIORITY Increment
);
-STDCALL
VOID
+STDCALL
KeIsExecutingDpc(
VOID
);
-STDCALL
VOID
+STDCALL
KeSetEventBoostPriority(
IN PKEVENT Event,
IN PKTHREAD *Thread OPTIONAL
);
-STDCALL
PVOID
+STDCALL
KeFindConfigurationEntry(
IN PVOID Unknown,
IN ULONG Class,
@@ -619,8 +619,8 @@
IN PULONG RegKey
);
-STDCALL
PVOID
+STDCALL
KeFindConfigurationNextEntry(
IN PVOID Unknown,
IN ULONG Class,
@@ -629,50 +629,50 @@
IN PVOID *NextLink
);
-STDCALL
VOID
+STDCALL
KeFlushEntireTb(
IN ULONGLONG Flag
);
-STDCALL
VOID
+STDCALL
KeRevertToUserAffinityThread(
VOID
);
-STDCALL
VOID
+STDCALL
KiCoprocessorError(
VOID
);
-STDCALL
VOID
+STDCALL
KiUnexpectedInterrupt(
VOID
);
-STDCALL
VOID
+STDCALL
KeSetDmaIoCoherency(
IN ULONG Coherency
);
-STDCALL
VOID
+STDCALL
KeSetProfileIrql(
IN KIRQL ProfileIrql
);
-STDCALL
VOID
+STDCALL
KeSetSystemAffinityThread(
IN KAFFINITY Affinity
);
-STDCALL
NTSTATUS
+STDCALL
KeUserModeCallback(
IN ULONG FunctionID,
IN PVOID InputBuffer,
@@ -681,15 +681,15 @@
OUT PULONG OutputLength
);
-STDCALL
VOID
+STDCALL
KeSetTimeIncrement(
IN ULONG MaxIncrement,
IN ULONG MinIncrement
);
-STDCALL
VOID
+STDCALL
KeCapturePersistentThreadState(
IN PVOID CurrentThread,
IN ULONG Setting1,
@@ -700,8 +700,8 @@
IN PVOID ThreadState
);
-STDCALL
BOOLEAN
+STDCALL
KeRemoveSystemServiceTable(
IN PUCHAR Number
);
@@ -713,8 +713,8 @@
IN USHORT Selector
);
-STDCALL
CCHAR
+STDCALL
KeSetIdealProcessorThread (
IN PKTHREAD Thread,
IN CCHAR Processor
@@ -733,15 +733,15 @@
IN PTIME_UPDATE_NOTIFY_ROUTINE NotifyRoutine
);
-STDCALL
PKDEVICE_QUEUE_ENTRY
+STDCALL
KeRemoveByKeyDeviceQueueIfBusy (
IN PKDEVICE_QUEUE DeviceQueue,
IN ULONG SortKey
);
-STDCALL
KAFFINITY
+STDCALL
KeQueryActiveProcessors (
VOID
);
@@ -759,14 +759,14 @@
IN PKLOCK_QUEUE_HANDLE LockHandle
);
-STDCALL
KPRIORITY
+STDCALL
KeQueryPriorityThread (
IN PKTHREAD Thread
);
-STDCALL
KIRQL
+STDCALL
KeAcquireInterruptSpinLock(
IN PKINTERRUPT Interrupt
);
@@ -777,8 +777,8 @@
IN PVOID State
);
-STDCALL
NTSTATUS
+STDCALL
KeRaiseUserException(
IN NTSTATUS ExceptionCode
);
reactos/include/ddk
diff -u -r1.42 -r1.43
--- iofuncs.h 23 Jun 2004 21:43:19 -0000 1.42
+++ iofuncs.h 21 Aug 2004 12:12:35 -0000 1.43
@@ -1,6 +1,6 @@
#ifndef _INCLUDE_DDK_IOFUNCS_H
#define _INCLUDE_DDK_IOFUNCS_H
-/* $Id: iofuncs.h,v 1.42 2004/06/23 21:43:19 ion Exp $ */
+/* $Id: iofuncs.h,v 1.43 2004/08/21 12:12:35 tamlin Exp $ */
#ifdef __NTOSKRNL__
extern POBJECT_TYPE EXPORTED IoAdapterObjectType;
@@ -788,8 +788,8 @@
IoIsOperationSynchronous (
IN PIRP Irp
);
-STDCALL
BOOLEAN
+STDCALL
IoIsSystemThread(
IN struct _ETHREAD* Thread
);
@@ -1240,31 +1240,31 @@
/* STUBS*/
-STDCALL
NTSTATUS
+STDCALL
IoAttachDeviceToDeviceStackSafe(
IN PDEVICE_OBJECT SourceDevice,
IN PDEVICE_OBJECT TargetDevice,
OUT PDEVICE_OBJECT *AttachedToDeviceObject
);
-STDCALL
VOID
+STDCALL
IoCancelFileOpen(
IN PDEVICE_OBJECT DeviceObject,
IN PFILE_OBJECT FileObject
);
-STDCALL
NTSTATUS
+STDCALL
IoCheckQuerySetFileInformation(
IN FILE_INFORMATION_CLASS FileInformationClass,
IN ULONG Length,
IN BOOLEAN SetOperation
);
-STDCALL
NTSTATUS
+STDCALL
IoCheckQuerySetVolumeInformation(
IN FS_INFORMATION_CLASS FsInformationClass,
IN ULONG Length,
@@ -1272,16 +1272,16 @@
);
-STDCALL
NTSTATUS
+STDCALL
IoCheckQuotaBufferValidity(
IN PFILE_QUOTA_INFORMATION QuotaBuffer,
IN ULONG QuotaLength,
OUT PULONG ErrorOffset
);
-STDCALL
NTSTATUS
+STDCALL
IoCreateFileSpecifyDeviceObjectHint(
OUT PHANDLE FileHandle,
IN ACCESS_MASK DesiredAccess,
@@ -1300,23 +1300,23 @@
IN PVOID DeviceObject
);
-STDCALL
PFILE_OBJECT
+STDCALL
IoCreateStreamFileObjectEx(
IN PFILE_OBJECT FileObject OPTIONAL,
IN PDEVICE_OBJECT DeviceObject OPTIONAL,
OUT PHANDLE FileObjectHandle OPTIONAL
);
-STDCALL
PFILE_OBJECT
+STDCALL
IoCreateStreamFileObjectLite(
IN PFILE_OBJECT FileObject OPTIONAL,
IN PDEVICE_OBJECT DeviceObject OPTIONAL
);
-STDCALL
NTSTATUS
+STDCALL
IoEnumerateDeviceObjectList(
IN PDRIVER_OBJECT DriverObject,
IN PDEVICE_OBJECT *DeviceObjectList,
@@ -1324,8 +1324,8 @@
OUT PULONG ActualNumberDeviceObjects
);
-STDCALL
BOOLEAN
+STDCALL
IoForwardIrpSynchronously(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp
@@ -1333,14 +1333,14 @@
#define IoForwardAndCatchIrp IoForwardIrpSynchronously
-STDCALL
VOID
+STDCALL
IoFreeErrorLogEntry(
PVOID ElEntry
);
-STDCALL
ULONG
+STDCALL
IoPnPDeliverServicePowerNotification(
ULONG VetoedPowerOperation OPTIONAL,
ULONG PowerNotification,
@@ -1348,81 +1348,81 @@
BOOLEAN Synchronous
);
-STDCALL
NTSTATUS
+STDCALL
IoGetBootDiskInformation(
IN OUT PBOOTDISK_INFORMATION BootDiskInformation,
IN ULONG Size
);
-STDCALL
PDEVICE_OBJECT
+STDCALL
IoGetDeviceAttachmentBaseRef(
IN PDEVICE_OBJECT DeviceObject
);
-STDCALL
NTSTATUS
+STDCALL
IoGetDiskDeviceObject(
IN PDEVICE_OBJECT FileSystemDeviceObject,
OUT PDEVICE_OBJECT *DiskDeviceObject
);
-STDCALL
PDEVICE_OBJECT
+STDCALL
IoGetLowerDeviceObject(
IN PDEVICE_OBJECT DeviceObject
);
-STDCALL
ULONG
+STDCALL
IoGetRequestorProcessId(
IN PIRP Irp
);
-STDCALL
BOOLEAN
+STDCALL
IoIsFileOriginRemote(
IN PFILE_OBJECT FileObject
);
-STDCALL
BOOLEAN
+STDCALL
IoIsValidNameGraftingBuffer(
IN PIRP Irp,
IN PREPARSE_DATA_BUFFER ReparseBuffer
);
-STDCALL
NTSTATUS
+STDCALL
IoQueryFileDosDeviceName(
IN PFILE_OBJECT FileObject,
OUT POBJECT_NAME_INFORMATION *ObjectNameInformation
);
-STDCALL
VOID
+STDCALL
IoRegisterBootDriverReinitialization(
IN PDRIVER_OBJECT DriverObject,
IN PDRIVER_REINITIALIZE DriverReinitializationRoutine,
IN PVOID Context
);
-STDCALL
NTSTATUS
+STDCALL
IoRegisterLastChanceShutdownNotification(
IN PDEVICE_OBJECT DeviceObject
);
-STDCALL
VOID
+STDCALL
IoReuseIrp(
IN OUT PIRP Irp,
IN NTSTATUS Iostatus
);
-STDCALL
NTSTATUS
+STDCALL
IoSetCompletionRoutineEx(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
@@ -1433,58 +1433,58 @@
IN BOOLEAN InvokeOnCancel
);
-STDCALL
NTSTATUS
+STDCALL
IoSetFileOrigin(
IN PFILE_OBJECT FileObject,
IN BOOLEAN Remote
);
-STDCALL
NTSTATUS
+STDCALL
IoSetSystemPartition(
PUNICODE_STRING VolumeNameString
);
-STDCALL
NTSTATUS
+STDCALL
IoVolumeDeviceToDosName(
IN PVOID VolumeDeviceObject,
OUT PUNICODE_STRING DosName
);
-STDCALL
NTSTATUS
+STDCALL
IoSetPartitionInformationEx(
IN PDEVICE_OBJECT DeviceObject,
IN ULONG PartitionNumber,
IN struct _SET_PARTITION_INFORMATION_EX* PartitionInfo
);
-STDCALL
NTSTATUS
+STDCALL
IoWritePartitionTableEx(
IN PDEVICE_OBJECT DeviceObject,
IN struct _DRIVE_LAYOUT_INFORMATION_EX* DriveLayfout
);
-STDCALL
NTSTATUS
+STDCALL
IoReadPartitionTableEx(
IN PDEVICE_OBJECT DeviceObject,
IN struct _DRIVE_LAYOUT_INFORMATION_EX** DriveLayout
);
-STDCALL
NTSTATUS
+STDCALL
IoCreateDisk(
IN PDEVICE_OBJECT DeviceObject,
IN struct _CREATE_DISK* Disk
);
-STDCALL
NTSTATUS
+STDCALL /* TMN: Huh? BOTH explicit STDCALL, and implicit by NTAPI ??? */
NTAPI
IoGetDeviceInterfaces(
IN CONST GUID *InterfaceClassGuid,
@@ -1493,8 +1493,8 @@
OUT PWSTR *SymbolicLinkList
);
-STDCALL
NTSTATUS
+STDCALL /* TMN: Huh? BOTH explicit STDCALL, and implicit by NTAPI ??? */
NTAPI
IoGetDeviceInterfaceAlias(
IN PUNICODE_STRING SymbolicLinkName,
@@ -1502,24 +1502,24 @@
OUT PUNICODE_STRING AliasSymbolicLinkName
);
-STDCALL
NTSTATUS
+STDCALL
IoOpenDeviceInterfaceRegistryKey(
IN PUNICODE_STRING SymbolicLinkName,
IN ACCESS_MASK DesiredAccess,
OUT PHANDLE DeviceInterfaceKey
);
-STDCALL
NTSTATUS
+STDCALL
IoReadDiskSignature(
IN PDEVICE_OBJECT DeviceObject,
IN ULONG BytesPerSector,
OUT PDISK_SIGNATURE Signature
);
-STDCALL
NTSTATUS
+STDCALL
IoRegisterPlugPlayNotification(
IN IO_NOTIFICATION_EVENT_CATEGORY EventCategory,
IN ULONG EventCategoryFlags,
@@ -1530,14 +1530,14 @@
OUT PVOID *NotificationEntry
);
-STDCALL
NTSTATUS
+STDCALL
IoUnregisterPlugPlayNotification(
IN PVOID NotificationEntry
);
-STDCALL
NTSTATUS
+STDCALL
IoReportDetectedDevice(
IN PDRIVER_OBJECT DriverObject,
IN INTERFACE_TYPE LegacyBusType,
@@ -1549,8 +1549,8 @@
IN OUT PDEVICE_OBJECT *DeviceObject
);
-STDCALL
NTSTATUS
+STDCALL
IoReportResourceForDetection(
IN PDRIVER_OBJECT DriverObject,
IN PCM_RESOURCE_LIST DriverList OPTIONAL,
@@ -1561,15 +1561,15 @@
OUT PBOOLEAN ConflictDetected
);
-STDCALL
NTSTATUS
+STDCALL
IoReportTargetDeviceChange(
IN PDEVICE_OBJECT PhysicalDeviceObject,
IN PVOID NotificationStructure
);
-STDCALL
NTSTATUS
+STDCALL
IoReportTargetDeviceChangeAsynchronous(
IN PDEVICE_OBJECT PhysicalDeviceObject,
IN PVOID NotificationStructure,
@@ -1577,63 +1577,63 @@
IN PVOID Context OPTIONAL
);
-STDCALL
VOID
+STDCALL
IoRequestDeviceEject(
IN PDEVICE_OBJECT PhysicalDeviceObject
);
-STDCALL
NTSTATUS
+STDCALL
IoVerifyPartitionTable(
IN PDEVICE_OBJECT DeviceObject,
IN BOOLEAN FixErrors
);
-STDCALL
VOID
+STDCALL
IoSetStartIoAttributes(
IN PDEVICE_OBJECT DeviceObject,
IN BOOLEAN DeferredStartIo,
IN BOOLEAN NonCancelable
);
-STDCALL
VOID
+STDCALL
IoSynchronousInvalidateDeviceRelations(
IN PDEVICE_OBJECT DeviceObject,
IN DEVICE_RELATION_TYPE Type
);
-STDCALL
NTSTATUS
+STDCALL
IoCreateDriver (
IN PUNICODE_STRING DriverName, OPTIONAL
IN PDRIVER_INITIALIZE InitializationFunction
);
-STDCALL
NTSTATUS
+STDCALL
IoValidateDeviceIoControlAccess(
IN PIRP Irp,
IN ULONG RequiredAccess
);
-STDCALL
VOID
+STDCALL
IoDeleteDriver (
IN PDRIVER_OBJECT DriverObject
);
-STDCALL
NTSTATUS
+STDCALL
IoGetRequestorSessionId(
IN PIRP Irp,
OUT PULONG pSessionId
);
-STDCALL
NTSTATUS
+STDCALL
IoSetIoCompletion (
IN PVOID IoCompletion,
IN PVOID KeyContext,
@@ -1643,23 +1643,23 @@
IN BOOLEAN Quota
);
-STDCALL
NTSTATUS
+STDCALL
IoWMIRegistrationControl(
IN PDEVICE_OBJECT DeviceObject,
IN ULONG Action
);
-STDCALL
NTSTATUS
+STDCALL
IoWMIAllocateInstanceIds(
IN GUID *Guid,
IN ULONG InstanceCount,
OUT ULONG *FirstInstanceId
);
-STDCALL
NTSTATUS
+STDCALL
IoWMISuggestInstanceName(
IN PDEVICE_OBJECT PhysicalDeviceObject OPTIONAL,
IN PUNICODE_STRING SymbolicLinkName OPTIONAL,
@@ -1667,30 +1667,32 @@
OUT PUNICODE_STRING SuggestedInstanceName
);
-STDCALL
NTSTATUS
+STDCALL
IoWMIWriteEvent(
IN PVOID WnodeEventItem
);
+NTSTATUS
STDCALL
-NTSTATUS IoWMIOpenBlock(
+IoWMIOpenBlock(
IN GUID *DataBlockGuid,
IN ULONG DesiredAccess,
OUT PVOID *DataBlockObject
);
+NTSTATUS
STDCALL
-NTSTATUS IoWMIQueryAllData(
+IoWMIQueryAllData(
IN PVOID DataBlockObject,
IN OUT ULONG *InOutBufferSize,
OUT PVOID OutBuffer
);
-STDCALL
NTSTATUS
+STDCALL
IoWMIQueryAllDataMultiple(
IN PVOID *DataBlockObjectList,
IN ULONG ObjectCount,
@@ -1699,8 +1701,8 @@
);
-STDCALL
NTSTATUS
+STDCALL
IoWMIQuerySingleInstance(
IN PVOID DataBlockObject,
IN PUNICODE_STRING InstanceName,
@@ -1708,8 +1710,8 @@
OUT PVOID OutBuffer
);
-STDCALL
NTSTATUS
+STDCALL
IoWMIQuerySingleInstanceMultiple(
IN PVOID *DataBlockObjectList,
IN PUNICODE_STRING InstanceNames,
@@ -1718,8 +1720,8 @@
OUT PVOID OutBuffer
);
-STDCALL
NTSTATUS
+STDCALL
IoWMISetSingleInstance(
IN PVOID DataBlockObject,
IN PUNICODE_STRING InstanceName,
@@ -1728,8 +1730,8 @@
IN PVOID ValueBuffer
);
-STDCALL
NTSTATUS
+STDCALL
IoWMISetSingleItem(
IN PVOID DataBlockObject,
IN PUNICODE_STRING InstanceName,
@@ -1739,8 +1741,8 @@
IN PVOID ValueBuffer
);
-STDCALL
NTSTATUS
+STDCALL
IoWMIExecuteMethod(
IN PVOID DataBlockObject,
IN PUNICODE_STRING InstanceName,
@@ -1755,24 +1757,24 @@
PVOID Context
);
-STDCALL
NTSTATUS
+STDCALL
IoWMISetNotificationCallback(
IN PVOID Object,
IN WMI_NOTIFICATION_CALLBACK Callback,
IN PVOID Context
);
-STDCALL
NTSTATUS
+STDCALL
IoWMIHandleToInstanceName(
IN PVOID DataBlockObject,
IN HANDLE FileHandle,
OUT PUNICODE_STRING InstanceName
);
-STDCALL
NTSTATUS
+STDCALL
IoWMIDeviceObjectToInstanceName(
IN PVOID DataBlockObject,
IN PDEVICE_OBJECT DeviceObject,