#include <assert.h>
#include <fcntl.h>
#include <share.h>
+#include <wchar.h>
+#define WIN32_NO_STATUS
#include <windows.h>
#include <cfgmgr32.h>
#include <fdi.h>
DWORD magic; /* SETUP_DEV_INFO_SET_MAGIC */
GUID ClassGuid; /* If != GUID_NULL, only devices of this class can be in the device info set */
HKEY HKLM; /* Local or distant HKEY_LOCAL_MACHINE registry key */
+ HMACHINE hMachine; /* 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];
};
extern HINSTANCE hInstance;