文件存储:File Mapping 文件映射

本文详细介绍了Windows系统中的文件映射技术,包括如何创建和打开文件映射对象、映射文件视图到进程地址空间、刷新和解映射视图等功能。通过CreateFileMapping、MapViewOfFile等函数,开发者可以高效地实现大文件的数据共享和存储操作。
摘要由CSDN通过智能技术生成
  • The following topics describe file mapping and how to use the file-mapping functions:

About File Mapping

Using File Mapping

File Mapping Reference

  • The following elements are used with file mapping:

File Mapping Functions

  • The following functions are used with file mapping.

CreateFileMapping

  • Creates or opens a named or unnamed file-mapping object for the specified file. 为指定文件创建或打开命名或未命名的文件映射对象。

FlushViewOfFile

  • Writes to the disk a byte range within a mapped view of a file. 将文件映射视图中的字节范围写入磁盘

MapViewOfFile

  • Maps a view of a file into the address space of the calling process. 将文件视图映射到调用进程的地址空间
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值