#include <assert.h>
#include <fcntl.h>
#include <share.h>
+#include <wchar.h>
#define WIN32_NO_STATUS
#include <windows.h>
#include "resource.h"
#define SETUP_DEV_INFO_SET_MAGIC 0xd00ff057
+#define SETUP_CLASS_IMAGE_LIST_MAGIC 0xd00ff058
struct DeviceInterface /* Element of DeviceInfoElement.InterfaceListHead */
{
struct DeviceInfoElement /* Element of DeviceInfoSet.ListHead */
{
LIST_ENTRY ListEntry;
+ DEVINST dnDevInst; /* Used in CM_* functions */
/* Reserved Field points to a struct DriverInfoElement */
SP_DEVINSTALL_PARAMS_W InstallParams;
LIST_ENTRY DriverListHead; /* List of struct DriverInfoElement */
LIST_ENTRY ListHead; /* List of struct DeviceInfoElement */
+
+ /* Contains the name of the remote computer ('\\COMPUTERNAME' for example),
+ * or NULL if related to local machine. Points into szData field at the
+ * end of the structure */
+ PCWSTR MachineName;
+ WCHAR szData[0];
+};
+
+struct ClassImageList
+{
+ DWORD magic; /* SETUP_CLASS_IMAGE_LIST_MAGIC */
+
+ /* Contains the name of the remote computer ('\\COMPUTERNAME' for example),
+ * or NULL if related to local machine. Points into szData field at the
+ * end of the structure */
+ PCWSTR MachineName;
+ WCHAR szData[0];
};
extern HINSTANCE hInstance;