hFile - 文件句柄
lpBuffer - 要写入的数据
nNumberOfBytesToWrite - 要写入的字节数
lpNumberOfBytesWritten - 实际写入的字节数
lpOverlapped - 是否是追加方式
凭记忆写的,可能不是很准确
lpBuffer - 要写入的数据
nNumberOfBytesToWrite - 要写入的字节数
lpNumberOfBytesWritten - 实际写入的字节数
lpOverlapped - 是否是追加方式
凭记忆写的,可能不是很准确
This function entry is part of a MAPI-specific list of Win32 functions. For a complete description, see Win32 Functions. BOOL WriteFile(
HANDLE hFile,
PCVOID lpBuffer,
DWORD nNumberOfBytesToWrite,
PDWORD lpNumberOfBytesWritten,
POVERLAPPED lpOverlapped
)
Limitations
The lpOverlapped parameter is not supported, and the function fails if it is not NULL.
HOWTO: Write Data to a File Using WriteFile API
http://support.microsoft.com/support/kb/articles/q165/9/42.asp - 微软全球技术中心 VB技术支持本贴子以“现状”提供且没有任何担保,同时也没有授予任何权利。具体事项可参见使用条款(http://support.microsoft.com/directory/worldwide/zh-cn/community/terms_chs.asp)。为了为您创建更好的讨论环境,请参加我们的用户满意度调查(http://support.microsoft.com/directory/worldwide/zh-cn/community/survey.asp?key=(S,49854782))。