IOControlCode 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
控件代码。
public:
IOControlCode(unsigned short deviceType, unsigned short function, IOControlAccessMode accessMode, IOControlBufferingMethod bufferingMethod);
IOControlCode(uint16_t const& deviceType, uint16_t const& function, IOControlAccessMode const& accessMode, IOControlBufferingMethod const& bufferingMethod);
public IOControlCode(ushort deviceType, ushort function, IOControlAccessMode accessMode, IOControlBufferingMethod bufferingMethod);
function IOControlCode(deviceType, function, accessMode, bufferingMethod)
Public Sub New (deviceType As UShort, function As UShort, accessMode As IOControlAccessMode, bufferingMethod As IOControlBufferingMethod)
参数
- deviceType
-
UInt16
unsigned short
uint16_t
设备类型。
- function
-
UInt16
unsigned short
uint16_t
设备功能。
- accessMode
- IOControlAccessMode
访问模式。
- bufferingMethod
- IOControlBufferingMethod
缓冲方法。