IOControlCode 构造函数

定义

控件代码。

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

缓冲方法。

适用于