开发者

Obtain volume help

How can I get a pointer to VolumeDeviceObject?

http://msdn.microsoft.com/en-us/library/windows/hardware/ff563030(v=vs.85).aspx

NTSTATUS RtlVolumeDeviceToDosName(
  __in   PVOID VolumeDevice开发者_如何学CObject,
  __out  PUNICODE_STRING DosName
);

VolumeDeviceObject [in] Pointer to a device object that represents a volume device object created by a storage class driver.


You can try using IoGetDeviceObjectPointer. It returns a device object for the specified string.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜