NtDeviceIoControlFile
来源:互联网 发布:上海外滩踩踏 知乎 编辑:程序博客网 时间:2024/05/16 01:31
NtDeviceIoControlFileNTSYSAPI NTSTATUSNTAPINtDeviceIoControlFile( IN HANDLE FileHandle, IN HANDLE Event OPTIONAL, IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, IN PVOID ApcContext OPTIONAL, OUT PIO_STATUS_BLOCK IoStatusBlock, IN ULONG IoControlCode, IN PVOID InputBuffer OPTIONAL, IN ULONG InputBufferLength, OUT PVOID OutputBuffer OPTIONAL, IN ULONG OutputBufferLength );Function NtDeviceIoControlFile sends IOCTL_* control code to Device Driver. It is primary (but not the best) solution to communicate between application and Device Driver. --------------------------------------------------------------------------------FileHandle HANDLE to Device Object opened as a file. Event Optional HANDLE to Event Object signalled on the end of processing request. ApcRoutine Optional pointer to user's APC Routine called on the end of processing request. ApcContext User's parameter to ApcRoutine. IoStatusBlock IO result of call. IoControlCode IO Control code [IOCTL_*]. InputBuffer User's allocated buffer with input data. InputBufferLength Length of InputBuffer, in bytes. OutputBuffer User's allocated buffer for result data. OutputBufferLength Length of OutputBuffer, in bytes. --------------------------------------------------------------------------------See also NtFsControlFile. Documented by: Tomasz Nowak Reactos Requirements:Library: ntdll.lib See also:NtCreateFileNtFsControlFileNtOpenFile
- NtDeviceIoControlFile
- 关于HOOK浏览器NtDeviceIoControlFile函数,修改POST数据的问题
- Professional Visual Basic 2008
- FCKEditor使用RequiredFieldValidator验证
- Search Engine Optimization: Your visual blueprintfor effective Internet marketing
- 移动磁盘文件,用NtFsControlFile还是用DeviceIoControl
- 我的好做法,大家都喜欢(在论坛解决问题,总结问题)
- NtDeviceIoControlFile
- C#、VB.NET将自己的程序注册到系统的右键菜单(所有文件和目录)
- Axure RP Pro - Specification规格文档 - 规格文档中屏幕截图的脚标
- 控制台输入输出数据
- Fedora10 安装手记2
- 什么是云计算
- 关于 const char* p , char const* p 以及 char * const p
- SAP CRM 医药行业解决方案
- 文件夹生出.exe尾巴?原来是MS-DOS.com,fonts.exe,Default.exe,HelpHost.com等做怪2