Description: CharSample实例的功能是:应用程序从键盘接收一个数字,之后通过DeviceIoControl调用,把数字传递给驱动程序,由驱动程序将一个数字(0-9)转换成一个中文(零-九),再把结果返回给应用程序,由应用程序显示出来。-CharSample examples of functions are : applications from the keyboard to receive a number, followed by DeviceIoControl call, this time passed to the driver, a driver will be digital (0-9) converted into a Chinese (zero-9), and then return the results to the application, applications displayed. Platform: |
Size: 1652242 |
Author:秦生 |
Hits:
Description: 该代码为我学习winnt内核时所写,主要功能是在ring3下通过DeviceIoControl与驱动进行通信,获取内核的数据以及sdt,idt信息等。并实现了hook NtQuerySystemInformation函数来实现进程隐藏的功能-The code for the kernel, I am learning winnt wrote, Its main function is in ring3 through DeviceIoControl communication with the driver. access to the kernel and sdt data, the information loop. And the achievement of the hook function to achieve NtQuerySystemInformation implicit process possession of the function Platform: |
Size: 55181 |
Author:左手 |
Hits:
Description: CharSample实例的功能是:应用程序从键盘接收一个数字,之后通过DeviceIoControl调用,把数字传递给驱动程序,由驱动程序将一个数字(0-9)转换成一个中文(零-九),再把结果返回给应用程序,由应用程序显示出来。-CharSample examples of functions are : applications from the keyboard to receive a number, followed by DeviceIoControl call, this time passed to the driver, a driver will be digital (0-9) converted into a Chinese (zero-9), and then return the results to the application, applications displayed. Platform: |
Size: 3058688 |
Author:秦生 |
Hits:
Description: 该代码为我学习winnt内核时所写,主要功能是在ring3下通过DeviceIoControl与驱动进行通信,获取内核的数据以及sdt,idt信息等。并实现了hook NtQuerySystemInformation函数来实现进程隐藏的功能-The code for the kernel, I am learning winnt wrote, Its main function is in ring3 through DeviceIoControl communication with the driver. access to the kernel and sdt data, the information loop. And the achievement of the hook function to achieve NtQuerySystemInformation implicit process possession of the function Platform: |
Size: 55296 |
Author:左手 |
Hits:
Description: 实战DeviceIoControl:通过API访问设备驱动程序,绝对经典·~-Actual DeviceIoControl: visit through the device driver API is definitely a classic ~ Platform: |
Size: 168960 |
Author:林风 |
Hits:
Description: CPU降温程序,用DDK+SDK开发的。加载驱动无须管理员权限,用DeviceIoControl与驱动交互。-CPU cooling procedures, with DDK SDK development. Drivers do not have administrator privileges to load and use DeviceIoControl interaction with the driver. Platform: |
Size: 70656 |
Author:ctqy |
Hits:
Description: Windows Vista操作系统下, visual studio 2008开发环境,通过DeviceIoControl读取硬盘物理参数,包括厂家、序列号等-diskid32, update to windows vista, with visual studio 2008, read the hardware parameter of disk driver. Platform: |
Size: 3615744 |
Author:gxliu |
Hits:
Description: DeviceIoControl实例及文档,通过API访问设备驱动程序-DeviceIoControl examples and documentation, through the API to access device driver Platform: |
Size: 168960 |
Author:lele |
Hits:
Description: wince 6.0 下实现的ADC的驱动程序、应用程序源代码。s3c6410 ,C++ 。我的触摸屏是一线触摸屏。板子上的电位器独立占用通道0 。应用程序通过DeviceIoControl,读到AD的数值,然后显示在EDIT 控件中。定时器80毫秒刷新一次。-wince 6.0 to achieve the ADC driver application source code. s3c6410, C++. My touch screen is touch-screen line. Applications through DeviceIoControl, read the value of AD, and then displayed in the EDIT control. 80 ms refresh timer. Platform: |
Size: 54272 |
Author:liulangmao |
Hits:
Description: Device Driver Program for begginer. using DeviceIOcontrol funtion in driver Device Driver Program for begginer. using DeviceIOcontrol funtion in driver-Device Driver Program for begginer. using DeviceIOcontrol funtion in driver Device Driver Program for begginer. using DeviceIOcontrol funtion in driver Platform: |
Size: 1561600 |
Author:park |
Hits:
Description: 生成与硬件相关的注册码。控制软件不重复使用!那么,很多多人认为VB实现不了。自然没有找到方法,一定是实现不了。然而,感谢WWW,我们能在上面找到VC的源码,DELPHI的源码。但是VB的就是见不到。为此,我决定将VC的源码改成VB的,以下即是:
VC原作说明部分(再发行时,请注意采用注解的方式,请不要删除的方式侵权,谢谢!)
*************************************************************************
通常情况下,我们通过=&HEC命令对IDE端口进行监测.获取硬盘信息.
一般情况下,我们就写个VXD或者DRIVER来完成.但是现在,通过MS的S.M.A.R.T.接口,
我们可以直接从RING3调用API DeviceIoControl()来获取硬盘信息.下面乃是我的例程:
另外,也有编译好的版本供大家平时使用.欢迎下载.-Generate the registration code and hardware-related. The control software is not re-use! So, a lot of people believe that VB can achieve. Naturally not found a way, it must be impossible to achieve. However, I would like to thank the WWW, in the above we can find the source of VC, DELPHI source code. But VB is not see. To this end, I decided to change the source of VC to VB, that is: ' VC original description of the part (re-issue, please note the use of comment, please do not delete infringement, thank you!)' ************************************************************************************************************** ' is usually the case, the IDE port = & of HEC command to monitor access to hard information' under normal circumstances, we write a VXD or DRIVER to complete. But now, through the SMART interface of the MS, ' We can be called from RING3 API DeviceIoControl () to obtain hard information below, but my routine:' In addition, the compiled version for Platform: |
Size: 5120 |
Author: |
Hits:
Description: 通常情况下,我们通过=&HEC命令对IDE端口进行监测.获取硬盘信息.
一般情况下,我们就写个VXD或者DRIVER来完成.但是现在,通过MS的S.M.A.R.T.接口,
我们可以直接从RING3调用API DeviceIoControl()来获取硬盘信息.-Under normal circumstances, we pass = & HEC command IDE port monitoring. Acquire the hard disk information.
Under normal circumstances, we would write a VXD or DRIVER done, but now, through the MS SMART interface
We can call API DeviceIoControl directly from RING3 () to get the hard disk information. Platform: |
Size: 5120 |
Author:李安平 |
Hits:
Description: ---
page_type: sample
description: "Demonstrates how to communicate with a SCSI device using pass-through IOCTLs in an application using DeviceIoControl API."
languages:
- cpp
products:
- windows
- windows-wdk
---
# SCSI Pass-Through Interface Tool
The SCSI Pass Through Interface sample demonstrates how to communicate with a SCSI device from Microsoft Win32 applications by using the **DeviceIoControl** API.
## Installation and Operation
The storage port drivers provide an interface for Win32 applications to send SCSI CBDs (Command Descriptor Block) to SCSI devices. The interfaces are [**IOCTL\_SCSI\_PASS\_THROUGH**](https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntddscsi/ni-ntddscsi-ioctl_scsi_pass_through) and [**IOCTL\_SCSI\_PASS\_THROUGH\_DIRECT**](https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntddscsi/ni-ntddscsi-ioctl_scsi_pass_through_direct). Applications can build a pass-through request and send it to the device by using this IOCTL.
Two command line parameters can be used with *SPTI.EXE*. The first parameter is mandatory. It is the name of the device to be opened. Typical values for this are drive letters such as "C:", or device names as defined by a class driver such as Scanner0, or the SCSI port driver name, ScsiN:, where N = 0, 1, 2, etc. The second parameter is optional and is used to set the share mode (note that access mode and share mode are different things) and sector size. The default share mode is (FILE\_SHARE\_READ | FILE\_SHARE\_WRITE) and the default sector size is 512. A parameter of "r" changes the share mode to only FILE\_SHARE\_READ. A parameter of "w" changes the share mode to only FILE\_SHARE\_WRITE. A parameter of "c" changes the share mode to only FILE\_SHARE\_READ and also changes the sector size to 2048. Typically, a CD-ROM device would use the "c" parameter. Platform: |
Size: 16254 |
Author:vitali_b@bk.ru |
Hits: