Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows XP/7文件系统名称替换_Windows_Winapi_Windows 7_Windows Xp_Wmi - Fatal编程技术网

Windows XP/7文件系统名称替换

Windows XP/7文件系统名称替换,windows,winapi,windows-7,windows-xp,wmi,Windows,Winapi,Windows 7,Windows Xp,Wmi,根据协议,开发人员可以通过检索Win32\u LogicalDisk类来访问文件系统名称。此类有一个具有以下属性的字段文件系统: Data type: string Access type: Read-only File system on the logical disk. Example: "NTFS" 是否有任何方法可以将字符串NTFS替换为已装入卷的任何其他自定义字符串,如MegaFS,因为系统将报告装入的卷具有MegaFS类型?文件系统类型是通过读取存储在磁盘上的驱动器信息来确定的。

根据协议,开发人员可以通过检索
Win32\u LogicalDisk
类来访问文件系统名称。此类有一个具有以下属性的字段
文件系统

Data type: string
Access type: Read-only
File system on the logical disk.
Example: "NTFS"

是否有任何方法可以将字符串
NTFS
替换为已装入卷的任何其他自定义字符串,如
MegaFS
,因为系统将报告装入的卷具有
MegaFS
类型?

文件系统类型是通过读取存储在磁盘上的驱动器信息来确定的。用于读取该信息的驱动程序向Windows显示名称。换句话说,您需要为Windows编写自己的NTFS驱动程序,并将其报告为其他内容。

了解,我在
fastfat
DDK示例中找到了相应的源代码。是否可以编写一些过滤器驱动程序,在运行时以某种方式与已加载的驱动程序(如
NTFS
)链接,并覆盖响应
FileFsAttributeInformation
的本机
NTFS
例程-我的自定义实现查询报告存在
MegaFS
卷?