  ; ===========================================
  ; wdm.inc copyright MASM32 1998 - 2005
  ; ===========================================

IFNDEF WDM_INC
WDM_INC equ <1>

CmRegisterCallback PROTO :DWORD,:DWORD,:DWORD
CmUnRegisterCallback PROTO :DWORD,:DWORD
DbgBreakPoint PROTO 
ExAcquireResourceExclusiveLite PROTO :DWORD,:DWORD
ExAcquireResourceSharedLite PROTO :DWORD,:DWORD
ExAcquireSharedStarveExclusive PROTO :DWORD,:DWORD
ExAcquireSharedWaitForExclusive PROTO :DWORD,:DWORD
ExAllocateFromPagedLookasideList PROTO :DWORD
ExAllocatePool PROTO :DWORD,:DWORD
ExAllocatePoolWithQuota PROTO :DWORD,:DWORD
ExAllocatePoolWithQuotaTag PROTO :DWORD,:DWORD,:DWORD
ExAllocatePoolWithTag PROTO :DWORD,:DWORD,:DWORD
ExAllocatePoolWithTagPriority PROTO :DWORD,:DWORD,:DWORD,:DWORD
ExConvertExclusiveToSharedLite PROTO :DWORD
ExCreateCallback PROTO :DWORD,:DWORD,:DWORD,:DWORD
ExDeleteNPagedLookasideList PROTO :DWORD
ExDeletePagedLookasideList PROTO :DWORD
ExDeleteResourceLite PROTO :DWORD
ExFreePool PROTO :DWORD
ExFreePoolWithTag PROTO :DWORD,:DWORD
ExFreeToPagedLookasideList PROTO :DWORD,:DWORD
ExGetExclusiveWaiterCount PROTO :DWORD
ExGetPreviousMode PROTO 
ExGetSharedWaiterCount PROTO :DWORD
ExInitializeNPagedLookasideList PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExInitializePagedLookasideList PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExInitializeResourceLite PROTO :DWORD
ExInterlockedAddLargeInteger PROTO :DWORD,:DWORD,:DWORD,:DWORD
ExIsProcessorFeaturePresent PROTO :DWORD
ExIsResourceAcquiredExclusiveLite PROTO :DWORD
ExIsResourceAcquiredSharedLite PROTO :DWORD
ExLocalTimeToSystemTime PROTO :DWORD,:DWORD
ExNotifyCallback PROTO :DWORD,:DWORD,:DWORD
ExQueueWorkItem PROTO :DWORD,:DWORD
ExRaiseStatus PROTO :DWORD
ExRegisterCallback PROTO :DWORD,:DWORD,:DWORD
ExReinitializeResourceLite PROTO :DWORD
ExReleaseResourceForThreadLite PROTO :DWORD,:DWORD
ExSetResourceOwnerPointer PROTO :DWORD,:DWORD
ExSetTimerResolution PROTO :DWORD,:DWORD
ExSystemTimeToLocalTime PROTO :DWORD,:DWORD
ExUnregisterCallback PROTO :DWORD
ExVerifySuite PROTO :DWORD
IoAcquireCancelSpinLock PROTO :DWORD
IoAcquireRemoveLockEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoAllocateAdapterChannel PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoAllocateDriverObjectExtension PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoAllocateErrorLogEntry PROTO :DWORD,:DWORD
IoAllocateIrp PROTO :DWORD,:DWORD
IoAllocateMdl PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoAllocateWorkItem PROTO :DWORD
IoAttachDevice PROTO :DWORD,:DWORD,:DWORD
IoAttachDeviceToDeviceStack PROTO :DWORD,:DWORD
IoBuildAsynchronousFsdRequest PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoBuildDeviceIoControlRequest PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoBuildPartialMdl PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoBuildSynchronousFsdRequest PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoCancelIrp PROTO :DWORD
IoCheckShareAccess PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoConnectInterrupt PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoCreateDevice PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoCreateFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoCreateNotificationEvent PROTO :DWORD,:DWORD
IoCreateSymbolicLink PROTO :DWORD,:DWORD
IoCreateSynchronizationEvent PROTO :DWORD,:DWORD
IoCreateUnprotectedSymbolicLink PROTO :DWORD,:DWORD
IoCsqInitialize PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoCsqInsertIrp PROTO :DWORD,:DWORD,:DWORD
IoCsqRemoveIrp PROTO :DWORD,:DWORD
IoCsqRemoveNextIrp PROTO :DWORD,:DWORD
IoDeleteDevice PROTO :DWORD
IoDeleteSymbolicLink PROTO :DWORD
IoDetachDevice PROTO :DWORD
IoDisconnectInterrupt PROTO :DWORD
IoForwardIrpSynchronously PROTO :DWORD,:DWORD
IoFreeErrorLogEntry PROTO :DWORD
IoFreeIrp PROTO :DWORD
IoFreeMdl PROTO :DWORD
IoFreeWorkItem PROTO :DWORD
IoGetAttachedDeviceReference PROTO :DWORD
IoGetCurrentProcess PROTO 
IoGetDeviceInterfaceAlias PROTO :DWORD,:DWORD,:DWORD
IoGetDeviceInterfaces PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoGetDeviceObjectPointer PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoGetDeviceProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoGetDmaAdapter PROTO :DWORD,:DWORD,:DWORD
IoGetDriverObjectExtension PROTO :DWORD,:DWORD
IoGetInitialStack PROTO 
IoGetRelatedDeviceObject PROTO :DWORD
IoGetStackLimits PROTO :DWORD,:DWORD
IoInitializeIrp PROTO :DWORD,:DWORD,:DWORD
IoInitializeRemoveLockEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoInitializeTimer PROTO :DWORD,:DWORD,:DWORD
IoInvalidateDeviceRelations PROTO :DWORD,:DWORD
IoInvalidateDeviceState PROTO :DWORD
IoIsWdmVersionAvailable PROTO :DWORD,:DWORD
IoOpenDeviceInterfaceRegistryKey PROTO :DWORD,:DWORD,:DWORD
IoOpenDeviceRegistryKey PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoQueueWorkItem PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoRegisterDeviceInterface PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoRegisterPlugPlayNotification PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoRegisterShutdownNotification PROTO :DWORD
IoReleaseCancelSpinLock PROTO :DWORD
IoReleaseRemoveLockAndWaitEx PROTO :DWORD,:DWORD,:DWORD
IoReleaseRemoveLockEx PROTO :DWORD,:DWORD,:DWORD
IoReportTargetDeviceChange PROTO :DWORD,:DWORD
IoReportTargetDeviceChangeAsynchronous PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoRequestDeviceEject PROTO :DWORD
IoReuseIrp PROTO :DWORD,:DWORD
IoSetCompletionRoutineEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoSetDeviceInterfaceState PROTO :DWORD,:DWORD
IoSetShareAccess PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoSetStartIoAttributes PROTO :DWORD,:DWORD,:DWORD
IoStartNextPacket PROTO :DWORD,:DWORD
IoStartNextPacketByKey PROTO :DWORD,:DWORD,:DWORD
IoStartPacket PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoStartTimer PROTO :DWORD
IoStopTimer PROTO :DWORD
IoUnregisterPlugPlayNotification PROTO :DWORD
IoUnregisterShutdownNotification PROTO :DWORD
IoWMIAllocateInstanceIds PROTO :DWORD,:DWORD,:DWORD
IoWMIDeviceObjectToInstanceName PROTO :DWORD,:DWORD,:DWORD
IoWMIExecuteMethod PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoWMIHandleToInstanceName PROTO :DWORD,:DWORD,:DWORD
IoWMIOpenBlock PROTO :DWORD,:DWORD,:DWORD
IoWMIQueryAllData PROTO :DWORD,:DWORD,:DWORD
IoWMIQueryAllDataMultiple PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoWMIQuerySingleInstance PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoWMIQuerySingleInstanceMultiple PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoWMIRegistrationControl PROTO :DWORD,:DWORD
IoWMISetNotificationCallback PROTO :DWORD,:DWORD,:DWORD
IoWMISetSingleInstance PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoWMISetSingleItem PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IoWMISuggestInstanceName PROTO :DWORD,:DWORD,:DWORD,:DWORD
IoWMIWriteEvent PROTO :DWORD
IoWriteErrorLogEntry PROTO :DWORD
KeAcquireInterruptSpinLock PROTO :DWORD
KeAcquireSpinLockAtDpcLevel PROTO :DWORD
KeAreApcsDisabled PROTO 
KeBugCheckEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
KeCancelTimer PROTO :DWORD
KeClearEvent PROTO :DWORD
KeDelayExecutionThread PROTO :DWORD,:DWORD,:DWORD
KeDeregisterBugCheckCallback PROTO :DWORD
KeEnterCriticalRegion PROTO 
KeFlushWriteBuffer PROTO 
KeGetCurrentIrql PROTO 
KeGetCurrentThread PROTO 
KeGetRecommendedSharedDataAlignment PROTO 
KeInitializeDeviceQueue PROTO :DWORD
KeInitializeDpc PROTO :DWORD,:DWORD,:DWORD
KeInitializeEvent PROTO :DWORD,:DWORD,:DWORD
KeInitializeMutex PROTO :DWORD,:DWORD
KeInitializeSemaphore PROTO :DWORD,:DWORD,:DWORD
KeInitializeSpinLock PROTO :DWORD
KeInitializeTimer PROTO :DWORD
KeInitializeTimerEx PROTO :DWORD,:DWORD
KeInsertByKeyDeviceQueue PROTO :DWORD,:DWORD,:DWORD
KeInsertDeviceQueue PROTO :DWORD,:DWORD
KeInsertQueueDpc PROTO :DWORD,:DWORD,:DWORD
KeLeaveCriticalRegion PROTO 
KeQueryInterruptTime PROTO 
KeQueryPerformanceCounter PROTO :DWORD
KeQueryPriorityThread PROTO :DWORD
KeQueryRuntimeThread PROTO :DWORD,:DWORD
KeQuerySystemTime PROTO :DWORD
KeQueryTimeIncrement PROTO 
KeReadStateEvent PROTO :DWORD
KeReadStateSemaphore PROTO :DWORD
KeReadStateTimer PROTO :DWORD
KeRegisterBugCheckCallback PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
KeReleaseInterruptSpinLock PROTO :DWORD,:DWORD
KeReleaseMutex PROTO :DWORD,:DWORD
KeReleaseSemaphore PROTO :DWORD,:DWORD,:DWORD,:DWORD
KeReleaseSpinLockFromDpcLevel PROTO :DWORD
KeRemoveByKeyDeviceQueue PROTO :DWORD,:DWORD
KeRemoveByKeyDeviceQueueIfBusy PROTO :DWORD,:DWORD
KeRemoveDeviceQueue PROTO :DWORD
KeRemoveEntryDeviceQueue PROTO :DWORD,:DWORD
KeRemoveQueueDpc PROTO :DWORD
KeResetEvent PROTO :DWORD
KeRestoreFloatingPointState PROTO :DWORD
KeSaveFloatingPointState PROTO :DWORD
KeSetEvent PROTO :DWORD,:DWORD,:DWORD
KeSetPriorityThread PROTO :DWORD,:DWORD
KeSetTimer PROTO :DWORD,:DWORD,:DWORD,:DWORD
KeSetTimerEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
KeStallExecutionProcessor PROTO :DWORD
KeSynchronizeExecution PROTO :DWORD,:DWORD,:DWORD
KeWaitForMultipleObjects PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
KeWaitForSingleObject PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
MmAddVerifierThunks PROTO :DWORD,:DWORD
MmAdvanceMdl PROTO :DWORD,:DWORD
MmAllocateMappingAddress PROTO :DWORD,:DWORD
MmAllocatePagesForMdl PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
MmBuildMdlForNonPagedPool PROTO :DWORD
MmCreateMdl PROTO :DWORD,:DWORD,:DWORD
MmFreeMappingAddress PROTO :DWORD,:DWORD
MmFreePagesFromMdl PROTO :DWORD
MmGetSystemRoutineAddress PROTO :DWORD
MmIsDriverVerifying PROTO :DWORD
MmIsVerifierEnabled PROTO :DWORD
MmLockPagableDataSection PROTO :DWORD
MmMapIoSpace PROTO :DWORD,:DWORD,:DWORD,:DWORD
MmMapLockedPages PROTO :DWORD,:DWORD
MmMapLockedPagesSpecifyCache PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
MmMapLockedPagesWithReservedMapping PROTO :DWORD,:DWORD,:DWORD,:DWORD
MmPageEntireDriver PROTO :DWORD
MmProbeAndLockPages PROTO :DWORD,:DWORD,:DWORD
MmProbeAndLockProcessPages PROTO :DWORD,:DWORD,:DWORD,:DWORD
MmProtectMdlSystemAddress PROTO :DWORD,:DWORD
MmQuerySystemSize PROTO 
MmResetDriverPaging PROTO :DWORD
MmSizeOfMdl PROTO :DWORD,:DWORD
MmUnlockPagableImageSection PROTO :DWORD
MmUnlockPages PROTO :DWORD
MmUnmapIoSpace PROTO :DWORD,:DWORD
MmUnmapLockedPages PROTO :DWORD,:DWORD
MmUnmapReservedMapping PROTO :DWORD,:DWORD,:DWORD
NtClose PROTO :DWORD
ObDereferenceSecurityDescriptor PROTO :DWORD,:DWORD
ObGetObjectSecurity PROTO :DWORD,:DWORD,:DWORD
ObLogSecurityDescriptor PROTO :DWORD,:DWORD,:DWORD
ObReferenceObjectByHandle PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ObReferenceObjectByPointer PROTO :DWORD,:DWORD,:DWORD,:DWORD
ObReferenceSecurityDescriptor PROTO :DWORD,:DWORD
ObReleaseObjectSecurity PROTO :DWORD,:DWORD
PoCallDriver PROTO :DWORD,:DWORD
PoRegisterDeviceForIdleDetection PROTO :DWORD,:DWORD,:DWORD,:DWORD
PoRegisterSystemState PROTO :DWORD,:DWORD
PoRequestPowerIrp PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PoRequestShutdownEvent PROTO :DWORD
PoSetPowerState PROTO :DWORD,:DWORD,:DWORD
PoSetSystemState PROTO :DWORD
PoStartNextPowerIrp PROTO :DWORD
PoUnregisterSystemState PROTO :DWORD
ProbeForRead PROTO :DWORD,:DWORD,:DWORD
ProbeForWrite PROTO :DWORD,:DWORD,:DWORD
PsCreateSystemThread PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PsTerminateSystemThread PROTO :DWORD
READ_PORT_BUFFER_UCHAR PROTO :DWORD,:DWORD,:DWORD
READ_PORT_BUFFER_ULONG PROTO :DWORD,:DWORD,:DWORD
READ_PORT_BUFFER_USHORT PROTO :DWORD,:DWORD,:DWORD
READ_PORT_UCHAR PROTO :DWORD
READ_PORT_ULONG PROTO :DWORD
READ_PORT_USHORT PROTO :DWORD
READ_REGISTER_BUFFER_UCHAR PROTO :DWORD,:DWORD,:DWORD
READ_REGISTER_BUFFER_ULONG PROTO :DWORD,:DWORD,:DWORD
READ_REGISTER_BUFFER_USHORT PROTO :DWORD,:DWORD,:DWORD
READ_REGISTER_UCHAR PROTO :DWORD
READ_REGISTER_ULONG PROTO :DWORD
READ_REGISTER_USHORT PROTO :DWORD
RtlAnsiStringToUnicodeString PROTO :DWORD,:DWORD,:DWORD
RtlAppendUnicodeStringToString PROTO :DWORD,:DWORD
RtlAppendUnicodeToString PROTO :DWORD,:DWORD
RtlAreBitsClear PROTO :DWORD,:DWORD,:DWORD
RtlAreBitsSet PROTO :DWORD,:DWORD,:DWORD
RtlAssert PROTO :DWORD,:DWORD,:DWORD,:DWORD
RtlClearAllBits PROTO :DWORD
RtlClearBit PROTO :DWORD,:DWORD
RtlClearBits PROTO :DWORD,:DWORD,:DWORD
RtlCompareMemory PROTO :DWORD,:DWORD,:DWORD
RtlCompareUnicodeString PROTO :DWORD,:DWORD,:DWORD
RtlConvertLongToLargeInteger PROTO :DWORD
RtlConvertUlongToLargeInteger PROTO :DWORD
RtlCopyUnicodeString PROTO :DWORD,:DWORD
RtlCreateSecurityDescriptor PROTO :DWORD,:DWORD
RtlDeleteRegistryValue PROTO :DWORD,:DWORD,:DWORD
RtlEqualUnicodeString PROTO :DWORD,:DWORD,:DWORD
RtlExtendedIntegerMultiply PROTO :DWORD,:DWORD,:DWORD
RtlExtendedLargeIntegerDivide PROTO :DWORD,:DWORD,:DWORD,:DWORD
RtlExtendedMagicDivide PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
RtlFillMemory PROTO :DWORD,:DWORD,:DWORD
RtlFindClearBits PROTO :DWORD,:DWORD,:DWORD
RtlFindClearBitsAndSet PROTO :DWORD,:DWORD,:DWORD
RtlFindClearRuns PROTO :DWORD,:DWORD,:DWORD,:DWORD
RtlFindFirstRunClear PROTO :DWORD,:DWORD
RtlFindLastBackwardRunClear PROTO :DWORD,:DWORD,:DWORD
RtlFindLeastSignificantBit PROTO :DWORD,:DWORD
RtlFindLongestRunClear PROTO :DWORD,:DWORD
RtlFindSetBits PROTO :DWORD,:DWORD,:DWORD
RtlFindSetBitsAndClear PROTO :DWORD,:DWORD,:DWORD
RtlFreeAnsiString PROTO :DWORD
RtlFreeUnicodeString PROTO :DWORD
RtlGUIDFromString PROTO :DWORD,:DWORD
RtlHashUnicodeString PROTO :DWORD,:DWORD,:DWORD,:DWORD
RtlInitAnsiString PROTO :DWORD,:DWORD
RtlInitString PROTO :DWORD,:DWORD
RtlInitUnicodeString PROTO :DWORD,:DWORD
RtlInitializeBitMap PROTO :DWORD,:DWORD,:DWORD
RtlInt64ToUnicodeString PROTO :DWORD,:DWORD,:DWORD,:DWORD
RtlIntegerToUnicodeString PROTO :DWORD,:DWORD,:DWORD
RtlLengthSecurityDescriptor PROTO :DWORD
RtlMoveMemory PROTO :DWORD,:DWORD,:DWORD
RtlNumberOfClearBits PROTO :DWORD
RtlNumberOfSetBits PROTO :DWORD
RtlQueryRegistryValues PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
RtlRaiseException PROTO :DWORD
RtlSetAllBits PROTO :DWORD
RtlSetBit PROTO :DWORD,:DWORD
RtlSetBits PROTO :DWORD,:DWORD,:DWORD
RtlSetDaclSecurityDescriptor PROTO :DWORD,:DWORD,:DWORD,:DWORD
RtlStringFromGUID PROTO :DWORD,:DWORD
RtlTestBit PROTO :DWORD,:DWORD
RtlTimeFieldsToTime PROTO :DWORD,:DWORD
RtlTimeToTimeFields PROTO :DWORD,:DWORD
RtlUnicodeStringToAnsiString PROTO :DWORD,:DWORD,:DWORD
RtlUnicodeStringToInteger PROTO :DWORD,:DWORD,:DWORD
RtlUnwind PROTO :DWORD,:DWORD,:DWORD,:DWORD
RtlValidRelativeSecurityDescriptor PROTO :DWORD,:DWORD,:DWORD
RtlValidSecurityDescriptor PROTO :DWORD
RtlWriteRegistryValue PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
RtlZeroMemory PROTO :DWORD,:DWORD
RtlxAnsiStringToUnicodeSize PROTO :DWORD
RtlxUnicodeStringToAnsiSize PROTO :DWORD
WRITE_PORT_BUFFER_UCHAR PROTO :DWORD,:DWORD,:DWORD
WRITE_PORT_BUFFER_ULONG PROTO :DWORD,:DWORD,:DWORD
WRITE_PORT_BUFFER_USHORT PROTO :DWORD,:DWORD,:DWORD
WRITE_PORT_UCHAR PROTO :DWORD,:DWORD
WRITE_PORT_ULONG PROTO :DWORD,:DWORD
WRITE_PORT_USHORT PROTO :DWORD,:DWORD
WRITE_REGISTER_BUFFER_UCHAR PROTO :DWORD,:DWORD,:DWORD
WRITE_REGISTER_BUFFER_ULONG PROTO :DWORD,:DWORD,:DWORD
WRITE_REGISTER_BUFFER_USHORT PROTO :DWORD,:DWORD,:DWORD
WRITE_REGISTER_UCHAR PROTO :DWORD,:DWORD
WRITE_REGISTER_ULONG PROTO :DWORD,:DWORD
WRITE_REGISTER_USHORT PROTO :DWORD,:DWORD
WmiQueryTraceInformation PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WmiTraceMessageVa PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwClose PROTO :DWORD
ZwCreateDirectoryObject PROTO :DWORD,:DWORD,:DWORD
ZwCreateFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwCreateKey PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwDeleteKey PROTO :DWORD
ZwDeleteValueKey PROTO :DWORD,:DWORD
ZwEnumerateKey PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwEnumerateValueKey PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwFlushKey PROTO :DWORD
ZwMakeTemporaryObject PROTO :DWORD
ZwMapViewOfSection PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwOpenKey PROTO :DWORD,:DWORD,:DWORD
ZwOpenSection PROTO :DWORD,:DWORD,:DWORD
ZwOpenSymbolicLinkObject PROTO :DWORD,:DWORD,:DWORD
ZwPowerInformation PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwQueryInformationFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwQueryKey PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwQuerySymbolicLinkObject PROTO :DWORD,:DWORD,:DWORD
ZwQueryValueKey PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwReadFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwSetInformationFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwSetValueKey PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ZwUnmapViewOfSection PROTO :DWORD,:DWORD
ZwWriteFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
_rt_probe_read4 PROTO :DWORD
_seh_longjmp_unwind PROTO :DWORD

ELSE
echo -----------------------------------------
echo WARNING Duplicate include file wdm.inc
echo -----------------------------------------
ENDIF
