IoGetAttachedDevice 获得设备所在栈最顶层的设备
来源:互联网 发布:淘宝客有什么要求 编辑:程序博客网 时间:2024/05/16 08:49
2012-05-19 13:01
获得设备所在设备栈最顶层的设备。
PDEVICE_OBJECT
IoGetAttachedDevice(
IN PDEVICE_OBJECT
);
- DeviceObject
- Pointer to the device object for which the topmost attached device is to be returned.
Parameters
Return Value
IoGetAttachedDevice returns the highest-level device attached to the specified device.
Comments
If the device object specified by DeviceObject has no other device objects attached to it, DeviceObject and the returned pointer are equal.
IoGetAttachedDevice differs from IoGetAttachedDeviceReference in the following respects:
- IoGetAttachedDevice does not increment the reference count on the device object. (Thus no matching call to ObDereferenceObject is required.)
- Callers of IoGetAttachedDevice must ensure that no device objects are added to or removed from the stack while IoGetAttachedDevice is executing. Callers that cannot do this must use IoGetAttachedDeviceReference instead.
Requirements
IRQL: <= DISPATCH_LEVEL
Headers: Declared in ntifs.h. Include ntifs.h.
- IoGetAttachedDevice 获得设备所在栈最顶层的设备
- 获得Android设备公网所在的ip
- 获得设备的名字
- Android使用百度地图SDK获得当前设备位置所在的省、市
- Android使用百度地图SDK获得当前设备位置所在的省、市(系列1)
- Android使用百度地图SDK获得当前设备位置所在的省、市
- 获得iphone设备的信息
- android获得设备的参数
- ios 获得设备的方向
- 获得设备的宽和高
- iOS获得当前设备的IP最方便最好的方法 (分IPv4 & IPv6)
- 获得与调节已知设备的音量
- adb devices获得的设备标识
- Android 获得设备关联的帐号信息
- adb devices获得的设备标识
- 如何获得ios设备的硬件名称
- 如何获得当前设备的名称
- Robotium_获得连接设备的像素
- deploy the transformation code in an agent
- Linux中断内核编程
- Android中使用语音引擎入门七步曲
- haproxy监测页面参数简释
- 第十四周实验报告 任务1
- IoGetAttachedDevice 获得设备所在栈最顶层的设备
- 第十四周任务2 链表操作
- Mapreduce-Partition分析
- 可以用chrome浏览器在这里试试效果,点击话筒即可:
- 栈的push、pop序列
- mozilla code nspr 多线程基础
- Gentoo安装全过程(U盘 光盘&minimal+xorg(nvidia(ati&&intel))+xfce(gnome&&kde))(综合整理)
- 第十四周 任务一 建立专门的数组类处理有关数组的操作
- 关于SIGSEGV错误及处理方法 .