RtcplIsDeviceInPNPINFFile

The function RtcplIsDeviceInPNPINFFile returns whether or not the device is in the RTX PNP INF File

Syntax

BOOL RtcplIsDeviceInPNPINFFile(
    PDEVICEINFO Device,
    PDWORD RetVal
);

Parameters

Device

Pointer to a DEVICEINFO data structure that contains information about the device to look for in the RTX PNP INF file.

RetVal

Pointer to a DWORD that RtcplIsDeviceInPNPINFFile populates with one of the following defines:

Value

Description

GENERAL_ENABLE

The PNP INF file contains this device.

GENERAL_DISABLE

The PNP INF file does not contain this device.

Return Values

A non-zero value if the function succeeds

Related RTX Properties Control Panel Features

Tab

Hardware tab

Dialog Box

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

Feature(s)

Right-click a device. The menu option you see is based on the RetVal value. If RetVal is true, then you see the Remove RTX INF Support option. If RetVal is false, you see the Add RTX INF Support option.

Requirements

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