41#if defined(NT_PROCESSOR_GROUPS)
50#if (NTDDI_VERSION >= NTDDI_LONGHORN)
54#if defined(NT_PROCESSOR_GROUPS)
64#if defined(NT_PROCESSOR_GROUPS)
98#if (NTDDI_VERSION >= NTDDI_LONGHORN)
122#define CmResourceTypeNull 0
123#define CmResourceTypePort 1
124#define CmResourceTypeInterrupt 2
125#define CmResourceTypeMemory 3
126#define CmResourceTypeDma 4
127#define CmResourceTypeDeviceSpecific 5
128#define CmResourceTypeBusNumber 6
129#define CmResourceTypeNonArbitrated 128
130#define CmResourceTypeConfigData 128
131#define CmResourceTypeDevicePrivate 129
132#define CmResourceTypePcCardConfig 130
133#define CmResourceTypeMfCardConfig 131
169#define CX_TYPECOLUMN_WIDTH 120
177 WCHAR szColName[255];
190 lvc.pszText = szColName;
195 sizeof(szColName) /
sizeof(szColName[0])))
205 sizeof(szColName) /
sizeof(szColName[0])))
227 li.iItem = ItemCount;
228 li.pszText = ResourceType;
237 li.pszText = ResourceDescription;
364 CStringW keyName =
L"SYSTEM\\CurrentControlSet\\Enum\\";
365 keyName += pszDeviceID;
366 keyName +=
L"\\Control";
381 if (pResourceList ==
NULL)
388 pResourceList =
NULL;
395 return (
PVOID)pResourceList;
#define RegCloseKey(hKey)
static HINSTANCE hDllInstance
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
#define HeapFree(x, y, z)
#define IDS_RESOURCE_INTERRUPT
#define IDS_RESOURCE_MEMORY_RANGE
#define IDS_RESOURCE_PORT
#define IDC_DRIVERRESOURCES
#define IDS_SETTING_COLUMN
#define IDS_RESOURCE_COLUMN
INT_PTR CALLBACK ResourcesProcDriverDlgProc(IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lParam)
enum _INTERFACE_TYPE * PINTERFACE_TYPE
static VOID UpdateDriverResourceDlg(IN HWND hwndDlg, IN PDEVADVPROP_INFO dap)
LARGE_INTEGER PHYSICAL_ADDRESS
PVOID GetResourceList(LPWSTR pszDeviceID)
struct _CM_FULL_RESOURCE_DESCRIPTOR CM_FULL_RESOURCE_DESCRIPTOR
#define CX_TYPECOLUMN_WIDTH
struct _CM_FULL_RESOURCE_DESCRIPTOR * PCM_FULL_RESOURCE_DESCRIPTOR
struct _CM_RESOURCE_LIST CM_RESOURCE_LIST
VOID InsertListItem(IN HWND hWndDevList, IN INT ItemCount, IN LPWSTR ResourceType, IN LPWSTR ResourceDescription)
#define CmResourceTypeMemory
struct _CM_RESOURCE_LIST * PCM_RESOURCE_LIST
struct _CM_PARTIAL_RESOURCE_LIST CM_PARTIAL_RESOURCE_LIST
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR * PCM_PARTIAL_RESOURCE_DESCRIPTOR
#define CmResourceTypeDma
struct HARDWARE_RESOURCE_DATA * PHARDWARE_RESOURCE_DATA
VOID AddResourceItems(IN PDEVADVPROP_INFO dap, IN HWND hWndDevList)
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR CM_PARTIAL_RESOURCE_DESCRIPTOR
enum _INTERFACE_TYPE INTERFACE_TYPE
LARGE_INTEGER * PPHYSICAL_ADDRESS
static VOID InitializeDevicesList(IN HWND hWndDevList)
#define CmResourceTypePort
#define CmResourceTypeInterrupt
struct _CM_PARTIAL_RESOURCE_LIST * PCM_PARTIAL_RESOURCE_LIST
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
struct _DEVADVPROP_INFO * PDEVADVPROP_INFO
#define ListView_InsertItem(hwnd, pitem)
#define ListView_InsertColumn(hwnd, iCol, pcol)
#define LVS_EX_FULLROWSELECT
#define ListView_SetExtendedListViewStyle(hwndLV, dw)
#define ListView_SetItem(hwnd, pitem)
CM_PARTIAL_RESOURCE_LIST PartialResourceList
INTERFACE_TYPE InterfaceType
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@399 BusNumber
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@393 Port
union _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@395::@404 DUMMYUNIONNAME
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@395::@404::@405 Raw
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@400 DeviceSpecificData
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@396 Memory
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@401 Memory40
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@395::@404::@406 Translated
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@398 DevicePrivate
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@395 MessageInterrupt
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@402 Memory48
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@403 Memory64
union _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391 u
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@394 Interrupt
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@392 Generic
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@397 Dma
CM_PARTIAL_RESOURCE_DESCRIPTOR PartialDescriptors[1]
_In_ WDFCOLLECTION _In_ ULONG Index
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
_Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor
_Must_inspect_result_ _In_ WDFCMRESLIST List
#define HKEY_LOCAL_MACHINE
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
#define SendDlgItemMessage
int WINAPI GetSystemMetrics(_In_ int)
enum _INTERFACE_TYPE INTERFACE_TYPE