|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > BncsFramework.AddManagedInfodriver Method |
Adds a managed infodriver for a specified device.
Namespace: BNCS.Core.DriverFramework
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static IBncsManagedInfodriver AddManagedInfodriver(
uint deviceId,
uint size,
Nullable<IBncsInfodriver> trackingInfodriver
)
deviceId
Type: UInt32
The unique identifier of the device for which the infodriver is being added.
size
Type: UInt32
The size of the infodriver. The default value is 4096.
trackingInfodriver
Type: Nullable<IBncsInfodriver>
An optional parameter for a tracking infodriver. It can be null.
An instance of IBncsManagedInfodriver representing the added managed infodriver.
Condition |
|
|---|---|
[Exception] |
Thrown when the infodriver mode is not available because BNCS is not enabled. |
BNCS.Core.DriverFramework Namespace