RtcplEnableTroublesomeDevice

The function RtcplEnableTroublesomeDevice enables or disables a device that has potential to cause latencies.

Syntax

BOOL RtcplEnableTroublesomeDevice(
    PDEVICEINFO Device,
    DWORD Enable
);

Parameters

Device

Pointer to a DEVICEINFO data structure that contains information about the device to enable or disable.

Enable

A DWORD that contains one of the following defines:

Value

Description

GENERAL_ENABLE

Enables a device that has potential to cause latencies.

GENERAL_DISABLE

Disabled a device that has potential to cause latencies.

Return Values

A non-zero value if the function succeeds

Remarks

RtcplEnableTroublesomeDevice depends on the DEVICEINFO  structure and, at a minimum, the HardwareId parameter in this structure must be filled in.

Related RTX Properties Control Panel Features

Tab

Hardware tab

Dialog Box

Click the Settings button in the Latency Causing Devices area to open the Latency Device Settings dialog box.

Feature(s)

Right-click the device you want to manage and choose Enable or Disable from the menu.

Requirements

Header RtxProp.h
Library RtxProp.lib
IntervalZero.com | Support | Give Feedback