|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > BncsFramework.GetInstanceFromBncsDeviceIdandIndex Method |
Retrieves an IBNCSInstance based on the provided device ID and index.
Namespace: BNCS.Core.DriverFramework
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static Nullable<IBNCSInstance> GetInstanceFromBncsDeviceIdandIndex(
uint deviceId,
uint index
)
deviceId
Type: UInt32
The device ID to match.
index
Type: UInt32
The index to compare against the offset of the device.
An IBNCSInstance that matches the device ID and has the highest offset less than or equal to the index, or null if no match is found.
BNCS.Core.DriverFramework Namespace