[CLASSPNP]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 27 Oct 2010 20:13:06 +0000 (20:13 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 27 Oct 2010 20:13:06 +0000 (20:13 +0000)
Convert to spec

svn path=/trunk/; revision=49311

reactos/drivers/storage/classpnp/class.def [deleted file]
reactos/drivers/storage/classpnp/class.spec [new file with mode: 0644]
reactos/drivers/storage/classpnp/classpnp.rbuild

diff --git a/reactos/drivers/storage/classpnp/class.def b/reactos/drivers/storage/classpnp/class.def
deleted file mode 100644 (file)
index f6a2311..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-NAME CLASSPNP.SYS
-
-EXPORTS
-    ClassInitialize@12
-    ClassInitializeEx@12
-    ClassGetDescriptor@12
-    ClassReadDriveCapacity@4
-    ClassReleaseQueue@4
-    ClassAsynchronousCompletion@12
-    ClassSplitRequest@12
-    ClassDeviceControl@8
-    ClassIoComplete@12
-    ClassIoCompleteAssociated@12
-    ClassInterpretSenseInfo@28
-    ClassSendDeviceIoControlSynchronous@28
-    ClassSendIrpSynchronous@8
-    ClassForwardIrpSynchronous@8
-    ClassSendSrbSynchronous@20
-    ClassSendSrbAsynchronous@24
-    ClassBuildRequest@8
-    ClassModeSense@16
-    ClassFindModePage@16
-    ClassClaimDevice@8
-    ClassInternalIoControl@8
-    ClassCreateDeviceObject@20
-    ClassRemoveDevice@8
-    ClassInitializeSrbLookasideList@8
-    ClassDeleteSrbLookasideList@4
-    ClassQueryTimeOutRegistryValue@4
-    ClassInvalidateBusRelations@4
-    ClassMarkChildrenMissing@4
-    ClassMarkChildMissing@8
-    ClassDebugPrint
-    ClassGetDriverExtension@4
-    ClassCompleteRequest@12
-    ClassReleaseRemoveLock@8
-    ClassAcquireRemoveLockEx@16
-    ClassUpdateInformationInRegistry@20
-    ClassWmiCompleteRequest@20
-    ClassWmiFireEvent@20
-    ClassGetVpb@4
-    ClassSetFailurePredictionPoll@12
-    ClassNotifyFailurePredicted@32
-    ClassInitializeTestUnitPolling@8
-    ClassSignalCompletion@12
-    ClassSendStartUnit@4
-    ClassSetMediaChangeState@12
-    ClassResetMediaChangeTimer@4
-    ClassCheckMediaState@4
-    ClassInitializeMediaChangeDetection@8
-    ClassCleanupMediaChangeDetection@4
-    ClassEnableMediaChangeDetection@4
-    ClassDisableMediaChangeDetection@4
-    ClassSpinDownPowerHandler@8
-    ClassStopUnitPowerHandler@8
-    ClassAcquireChildLock@4
-    ClassReleaseChildLock@4
-    ClassScanForSpecial@12
-    ClassSetDeviceParameter@16
-    ClassGetDeviceParameter@16
-
diff --git a/reactos/drivers/storage/classpnp/class.spec b/reactos/drivers/storage/classpnp/class.spec
new file mode 100644 (file)
index 0000000..8d909eb
--- /dev/null
@@ -0,0 +1,59 @@
+
+ @ stdcall ClassInitialize(ptr ptr ptr)
+ @ stdcall ClassInitializeEx(ptr ptr ptr)
+ @ stdcall ClassGetDescriptor(ptr ptr ptr)
+ @ stdcall ClassReadDriveCapacity(ptr)
+ @ stdcall ClassReleaseQueue(ptr)
+ @ stdcall ClassAsynchronousCompletion(ptr ptr ptr)
+ @ stdcall ClassSplitRequest(ptr ptr long)
+ @ stdcall ClassDeviceControl(ptr ptr)
+ @ stdcall ClassIoComplete(ptr ptr ptr)
+ @ stdcall ClassIoCompleteAssociated(ptr ptr ptr)
+ @ stdcall ClassInterpretSenseInfo(ptr ptr long long long ptr)
+ @ stdcall ClassSendDeviceIoControlSynchronous(long ptr ptr long long long ptr)
+ @ stdcall ClassSendIrpSynchronous(ptr ptr)
+ @ stdcall ClassForwardIrpSynchronous(ptr ptr)
+ @ stdcall ClassSendSrbSynchronous(ptr ptr ptr long long)
+ @ stdcall ClassSendSrbAsynchronous(ptr ptr ptr ptr long long)
+ @ stdcall ClassBuildRequest(ptr ptr)
+ @ stdcall ClassModeSense(ptr ptr long long)
+ @ stdcall ClassFindModePage(ptr long long long)
+ @ stdcall ClassClaimDevice(ptr long)
+ @ stdcall ClassInternalIoControl(ptr ptr)
+ @ stdcall ClassCreateDeviceObject(ptr ptr ptr long ptr)
+ @ stdcall ClassRemoveDevice(ptr long)
+ @ stdcall ClassInitializeSrbLookasideList(ptr long)
+ @ stdcall ClassDeleteSrbLookasideList(ptr)
+ @ stdcall ClassQueryTimeOutRegistryValue(ptr)
+ @ stdcall ClassInvalidateBusRelations(ptr)
+ @ stdcall ClassMarkChildrenMissing(ptr)
+ @ stdcall ClassMarkChildMissing(ptr long)
+ @ varargs ClassDebugPrint(long long)
+ @ stdcall ClassGetDriverExtension(ptr)
+ @ stdcall ClassCompleteRequest(ptr ptr long)
+ @ stdcall ClassReleaseRemoveLock(ptr ptr)
+ @ stdcall ClassAcquireRemoveLockEx(ptr ptr ptr long)
+ @ stdcall ClassUpdateInformationInRegistry(ptr ptr long ptr long)
+ @ stdcall ClassWmiCompleteRequest(ptr ptr long long long)
+ @ stdcall ClassWmiFireEvent(ptr ptr long long ptr)
+ @ stdcall ClassGetVpb(ptr)
+ @ stdcall ClassSetFailurePredictionPoll(ptr long long)
+ @ stdcall ClassNotifyFailurePredicted(ptr ptr long long long long long long)
+ @ stdcall ClassInitializeTestUnitPolling(ptr long)
+ @ stdcall ClassSignalCompletion(ptr ptr ptr)
+ @ stdcall ClassSendStartUnit(ptr)
+ @ stdcall ClassSetMediaChangeState(ptr long long)
+ @ stdcall ClassResetMediaChangeTimer(ptr)
+ @ stdcall ClassCheckMediaState(ptr)
+ @ stdcall ClassInitializeMediaChangeDetection(ptr ptr)
+ @ stdcall ClassCleanupMediaChangeDetection(ptr)
+ @ stdcall ClassEnableMediaChangeDetection(ptr)
+ @ stdcall ClassDisableMediaChangeDetection(ptr)
+ @ stdcall ClassSpinDownPowerHandler(ptr ptr)
+ @ stdcall ClassStopUnitPowerHandler(ptr ptr)
+ @ stdcall ClassAcquireChildLock(ptr)
+ @ stdcall ClassReleaseChildLock(ptr)
+ @ stdcall ClassScanForSpecial(ptr ptr ptr)
+ @ stdcall ClassSetDeviceParameter(ptr ptr ptr long)
+ @ stdcall ClassGetDeviceParameter(ptr ptr ptr ptr)
+
index 668d79b..094801a 100644 (file)
@@ -2,7 +2,7 @@
 <!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
 <module name="classpnp" type="kernelmodedriver" installbase="system32/drivers" installname="classpnp.sys">
        <bootstrap installbase="$(CDOUTPUT)" />
-       <importlibrary definition="class.def" />
+       <importlibrary definition="class.spec" />
        <library>ntoskrnl</library>
        <library>hal</library>
        <library>pseh</library>