From: Nate Bushman [NBushman@Legato.com] Sent: Thursday, March 08, 2001 8:09 PM To: NT Developers Interest List Subject: [ntdev] DeviceExtension not getting allocated by IoCreateDevice()... When I use IoCreateDevice() to create a device object (for filtering volumes), for some strange reason it's not allocating my device extension. Here's how I'm doing it: status = IoCreateDevice(pDriverObject, sizeof(LOWIRQL_FILTER_EXTENION), NULL, FILE_DEVICE_DISK, 0, FALSE, &pFilterDeviceObject); LOWIRQL_FILTER_EXTENION is defined as: typedef struct _LOWIRQL_FILTER_EXTENION { PDEVICE_OBJECT pThisDeviceObject; PDEVICE_OBJECT pLowerDeviceObject; ULONG DiskNumber; ULONG DiskSignature; ULONG PartitionNumber; LONGLONG PartitionOffset; LONGLONG PartitionLength; BOOLEAN bDeletePending; } LOWIRQL_FILTER_EXTENION, *PLOWIRQL_FILTER_EXTENION; I'm writing a driver for NT4, but I'm testing it on my W2K machines, and DriverExtension never gets allocated. needs NT type driver name attached in create device since this is tested in w2k. --- You are currently subscribed to ntdev as: GlennEverhart@FirstUSA.com To unsubscribe send a blank email to leave-ntdev-247T@lists.osr.com