日期:2014-05-17  浏览次数:20796 次

编写NT驱动时数据类型in
我在编写NT驱动时碰到这样一个函数void DemoUnload(IN PDRIVER_OBJECT DriverObject),我实在看不懂,in 是什么数据类型

------解决方案--------------------
代表输入参数
------解决方案--------------------
C/C++ code

//****************************************************************************
//                           --- DemoUnload ---
//
// Purpose: This code is copied from NT DDK sample of generic driver. NT call
//          this routine during driver unload
//   Input: IN PDRIVER_OBJECT DriverObject - Pointer to the driver object
//  Output: none
//    Note: Typical CS aware driver will deregister client and detach from CS
//          in this routine. This sample just deregister the client. Please
//          refer to DoCardServices() function above for code which detach from
//          CS
//****************************************************************************