共用方式為


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

緩衝方法。

適用於