Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > How to simulate attaching to "HarddiskVolumeShadowCopyN"

Reply
Thread Tools Display Modes

How to simulate attaching to "HarddiskVolumeShadowCopyN"

 
 
Ajay
Guest
Posts: n/a

 
      06-03-2010
Hi all.

We have a filter driver, which attaches to different device-types. We log
the device names in a log file.

Occasionally, on some systems running the filter driver, we observe device
kernel-names like type "\Device\HarddiskVolumeShadowCopy14", but we haven't
been able to reproduce the issue consistently.

Is there a consistent way to replicate attaching to devices of such type?
 
Reply With Quote
 
 
 
 
Ajay
Guest
Posts: n/a

 
      06-04-2010
We managed to hit upon, while creating restore point on Vista.

In our code, we use
"FILE_DEVICE_VIRTUAL_DISK == StorageStackDeviceObject->DeviceType"
as the check (where "StorageStackDeviceObject is "PDEVICE_OBJECT" object),
to check for shadow-volumes in WIN-2003 and above. However, the test fails
for Vista.

Has there been a change in the device-type enumeration for Vista?

Will be grateful for a reply.

Regards
Ajay

"Ajay" wrote:

> Hi all.
>
> We have a filter driver, which attaches to different device-types. We log
> the device names in a log file.
>
> Occasionally, on some systems running the filter driver, we observe device
> kernel-names like type "\Device\HarddiskVolumeShadowCopy14", but we haven't
> been able to reproduce the issue consistently.
>
> Is there a consistent way to replicate attaching to devices of such type?

 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      06-04-2010
> "FILE_DEVICE_VIRTUAL_DISK == StorageStackDeviceObject->DeviceType"
> as the check (where "StorageStackDeviceObject is "PDEVICE_OBJECT" object),
> to check for shadow-volumes in WIN-2003 and above. However, the test fails


Get the driver object name using ObQueryNameString and compare it to \Driver\volsnap

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Attaching Picture to Signature Jenifer_In_Florida Windows Live Mail 2 05-05-2010 08:57 PM
Attaching Files Gord Windows Live Mail 2 01-10-2010 07:20 PM
settin files headers when attaching files BCY1 Windows Vista File Management 0 09-20-2007 02:46 PM
Exception Processing Message when attaching ipod & USB flash drive Duncanisoutside Windows Vista Hardware 2 08-10-2007 12:42 AM
Simulate USB port connect/disconnect Frank S. ActiveSync 1 10-31-2004 11:06 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59