磁盘操作 API

    技术2022-05-20  75

    // 获取磁盘属性BOOL WINAPI GetVolumeInformation(  __in          LPCTSTR lpRootPathName,              // 路径(带backslash),如"C:/"  __out         LPTSTR lpVolumeNameBuffer,           // 磁盘名称Buffer  __in          DWORD nVolumeNameSize,               //   __out         LPDWORD lpVolumeSerialNumber,        // 格式化时系统分配的序列号  __out         LPDWORD lpMaximumComponentLength,    // 支持的文件名长度  __out         LPDWORD lpFileSystemFlags,           // 文件系统属性  __out         LPTSTR lpFileSystemNameBuffer,       // 文件系统类型Buffer,如"NTFS","FAT"  __in          DWORD nFileSystemNameSize            //)


    最新回复(0)