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
緩衝方法。