SP_DEVINFO_LIST_DETAIL_DATA_A structure (setupapi.h)

An SP_DEVINFO_LIST_DETAIL_DATA structure contains information about a device information set, such as its associated setup class GUID (if it has an associated setup class).

Syntax

typedef struct _SP_DEVINFO_LIST_DETAIL_DATA_A {
  DWORD  cbSize;
  GUID   ClassGuid;
  HANDLE RemoteMachineHandle;
  CHAR   RemoteMachineName[SP_MAX_MACHINENAME_LENGTH];
} SP_DEVINFO_LIST_DETAIL_DATA_A, *PSP_DEVINFO_LIST_DETAIL_DATA_A;

Members

cbSize

The size, in bytes, of the SP_DEVINFO_LIST_DETAIL_DATA structure.

ClassGuid

The setup class GUID that is associated with the device information set or GUID_NULL if there is no associated setup class.

RemoteMachineHandle

If the device information set is for a remote computer, this member is a configuration manager machine handle for the remote computer. If the device information set is for the local computer, this member is NULL.

This is typically the parameter that components use to access the remote computer. The RemoteMachineName contains a string, in case the component requires the name of the remote computer.

RemoteMachineName[SP_MAX_MACHINENAME_LENGTH]

A NULL-terminated string that contains the name of the remote computer. If the device information set is for the local computer, this member is an empty string.

Remarks

Note

The setupapi.h header defines SP_DEVINFO_LIST_DETAIL_DATA as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Header setupapi.h (include Setupapi.h)

See also

SetupDiGetDeviceInfoListDetail