Description

The IDeviceContext interface provides an interface to the device context for a given device. The system implements this device in an internal type, which is not exposed to any elements in the system. The purpose of the device context is to hold the current execution state for the associated device, and to manage the execution of that device. The target device for an IDeviceContext object can be retrieved by calling the GetTargetDevice method.

Timing functions

Name Description
Public member GetCurrentTimesliceProgress
Public member SetCurrentTimesliceProgress

Control functions

Name Description
Public member DeviceEnabled
Public member SetDeviceEnabled

Device interface

Name Description
Public member GetTargetDevice
Public member GetDeviceIndexNo

System message functions

Name Description
Public member WriteLogEvent
Public member FlagStopSystem
Public member StopSystem
Public member RunSystem
Public member ExecuteDeviceStep
Public member GetFullyQualifiedDeviceInstanceName
Public member GetModuleDisplayName
Public member GetModuleInstanceName

Suspend functions

Name Description
Public member UsesExecuteSuspend
Public member UsesTransientExecution
Public member TimesliceExecutionSuspended
Public member SuspendTimesliceExecution
Public member WaitForTimesliceExecutionResume
Public member ResumeTimesliceExecution
Public member TimesliceSuspensionDisabled
Public member TransientExecutionActive
Public member TransientExecutionActive
Public member TimesliceExecutionCompleted

Dependent device functions

Name Description
Public member SetDeviceDependencyEnable

See also