264 WCHAR ValueString[32];
433 lvC.pszText = szText;
680 for (
i = 0;
i < pPartialResourceList->
Count;
i++)
684 switch (pDescriptor->
Type)
858 if (lpnmlv->
iItem != -1)
939 lvC.pszText = szText;
1006 if (lpnmlv->
iItem != -1)
1064 lvC.pszText = szText;
1100 switch (ResourceType)
1126 UCHAR ShareDisposition,
1130 switch (ShareDisposition)
1216 for (
j = 0;
j < pResourceList->
Count;
j++)
1441 switch (pDescriptor->
Type)
1477 if (lpnmlv->
iItem != -1)
1588 size_t llen, listlen, nl_len;
1606 listlen =
sizeof(
WCHAR);
1608 while(*
src !=
L'\0')
1613 listlen += (llen *
sizeof(
WCHAR)) + nl_len;
1634 size_t linechars, buflen, c_nl,
dest;
1637 buflen =
sizeof(
WCHAR);
1641 while(*
src !=
L'\0')
1645 linechars = nl -
src;
1659 buflen += ((linechars + 1) *
sizeof(
WCHAR));
1669 src += linechars + (nl !=
NULL ? c_nl : 0);
1850 DWORD dwDisposition;
1853 DWORD dwIndex, dwType, cbName, cbData;
1854 WCHAR szSubKey[256];
1855 WCHAR szValueName[256];
1856 BYTE szValueData[512];
1866 hSrcKey = hSrcSubKey;
1871 &hDestSubKey, &dwDisposition);
1883 lResult =
CopyKey(hDestSubKey, szSubKey, hSrcKey, szSubKey);
1896 lResult =
RegEnumValueW(hSrcKey, dwIndex++, szValueName, &cbName,
NULL, &dwType, szValueData, &cbData);
1899 lResult =
RegSetValueExW(hDestSubKey, szValueName, 0, dwType, szValueData, cbData);
1925 if (
_wcsicmp(lpDestSubKey, lpSrcSubKey) == 0)
1931 lResult =
CopyKey(hDestKey, lpDestSubKey, hSrcKey, lpSrcSubKey);
1985 cbNewSubKey = (
s - lpSubKey +
wcslen(lpNewName) + 1) *
sizeof(
WCHAR);
1987 if (lpNewSubKey !=
NULL)
1991 lpNewName = lpNewSubKey;
2010 DWORD dwType, cbData;
2021 cbData =
sizeof(
data);
2042 DWORD cbData, dwType;
2052 cbData = (dwBufferLen - 1) *
sizeof(*pszBuffer);
2062 pszBuffer[cbData /
sizeof(*pszBuffer)] =
L'\0';
2066 pszBuffer[0] =
L'\0';
2077 pszRootKey =
L"HKEY_CLASSES_ROOT";
2079 pszRootKey =
L"HKEY_CURRENT_USER";
2081 pszRootKey =
L"HKEY_LOCAL_MACHINE";
2083 pszRootKey =
L"HKEY_USERS";
2085 pszRootKey =
L"HKEY_CURRENT_CONFIG";
2087 pszRootKey =
L"HKEY_DYN_DATA";
2092 _snwprintf(pszDest, iDestLength,
L"%s\\%s", pszRootKey, lpSubKey);
2094 _snwprintf(pszDest, iDestLength,
L"%s", pszRootKey);
static WCHAR * stringValueData
static VOID GetPortType(USHORT Flags, LPWSTR pBuffer, DWORD dwLength)
static PCM_RESOURCE_LIST resourceValueData
static VOID GetInterfaceType(INTERFACE_TYPE InterfaceType, LPWSTR pBuffer, DWORD dwLength)
static EDIT_MODE dwordEditMode
INT_PTR CALLBACK modify_string_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK modify_requirements_list_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static DWORD valueDataLen
static INT fullResourceIndex
static INT_PTR CALLBACK show_requirements_port_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static BOOL OnRequirementsListNotify(HWND hwndDlg, NMHDR *phdr)
static BOOL OnResourceNotify(HWND hwndDlg, NMHDR *phdr)
BOOL ModifyValue(HWND hwnd, HKEY hKey, LPCWSTR valueName, BOOL EditBin)
static LONG MoveKey(HKEY hDestKey, LPCWSTR lpDestSubKey, HKEY hSrcKey, LPCWSTR lpSrcSubKey)
static INT_PTR CALLBACK modify_resource_list_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL DeleteKey(HWND hwnd, HKEY hKeyRoot, LPCWSTR keyPath)
static DWORD dwordValueData
static const WCHAR * editValueName
static INT_PTR CALLBACK modify_resource_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static BOOL CreateResourceColumns(HWND hwnd)
static VOID ShowRequirement(HWND hwndDlg)
static void error_code_messagebox(HWND hwnd, DWORD error_code)
static VOID AddFullResourcesToList(HWND hwnd)
enum _EDIT_MODE EDIT_MODE
static VOID AddRequirementsToList(HWND hwndDlg, HWND hwnd)
static INT_PTR CALLBACK show_requirements_dma_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static BOOL CreateRequirementsListColumns(HWND hWndListView)
static PVOID binValueData
static INT requirementsIndex
static VOID GetResourceType(UCHAR ResourceType, LPWSTR pBuffer, DWORD dwLength)
static INT_PTR CALLBACK show_requirements_memory_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static VOID GetMemoryAccess(USHORT Flags, LPWSTR pBuffer, DWORD dwLength)
LONG RenameValue(HKEY hKey, LPCWSTR lpSubKey, LPCWSTR lpDestValue, LPCWSTR lpSrcValue)
LONG RenameKey(HKEY hKey, LPCWSTR lpSubKey, LPCWSTR lpNewName)
LONG QueryStringValue(HKEY hKey, LPCWSTR lpSubKey, LPCWSTR lpValueName, LPWSTR pszBuffer, DWORD dwBufferLen)
INT_PTR CALLBACK modify_multi_string_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
LRESULT CALLBACK DwordEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static VOID GetShareDisposition(UCHAR ShareDisposition, LPWSTR pBuffer, DWORD dwLength)
static VOID ParseResources(HWND hwnd)
static BOOL OnResourceListNotify(HWND hwndDlg, NMHDR *phdr)
static PIO_RESOURCE_REQUIREMENTS_LIST requirementsValueData
static INT_PTR CALLBACK show_requirements_interrupt_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
INT_PTR CALLBACK modify_dword_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL GetKeyName(LPWSTR pszDest, size_t iDestLength, HKEY hRootKey, LPCWSTR lpSubKey)
INT_PTR CALLBACK modify_binary_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static VOID GetInterruptType(USHORT Flags, LPWSTR pBuffer, DWORD dwLength)
static LONG CopyKey(HKEY hDestKey, LPCWSTR lpDestSubKey, HKEY hSrcKey, LPCWSTR lpSrcSubKey)
static BOOL CreateResourceListColumns(HWND hWndListView)
int ErrorMessageBox(HWND hWnd, LPCWSTR lpTitle, DWORD dwErrorCode,...)
#define IDS_INTERRUPT_TYPE
#define IDC_REQ_MEMORY_MAX
#define IDS_INTERRUPT_VECTOR
#define IDC_DEVICE_EXCLUSIVE
#define IDS_BUS_PCMCIABUS
#define IDS_SPECIFIC_RESERVED2
#define IDS_BUS_UNDEFINED
#define IDC_REQ_DMA_PREFERRED
#define IDS_QUERY_DELETE_KEY_ONE
#define IDS_MEMORY_LENGTH
#define IDC_REQ_MEMORY_SHARE
#define IDC_REQ_MEMORY_ACCESS
#define IDD_EDIT_RESOURCE
#define IDS_BUS_PNPISABUS
#define IDC_REQ_PORT_TYPE
#define IDS_BUS_TURBOCHANNEL
#define IDS_MEMORY_ADDRESS
#define IDS_MEMORY_ACCESS
#define IDC_REQ_PORT_LENGTH
#define IDS_BUS_MICROCHANNEL
#define IDC_REQ_MEMORY_MIN
#define IDC_REQ_INT_PREFERRED
#define IDD_EDIT_REQUIREMENTS_MEMORY
#define IDS_SPECIFIC_RESERVED1
#define IDS_BUS_PROCESSORINTERNAL
#define IDC_REQ_PORT_ALIGN
#define IDS_SHARE_UNDETERMINED
#define IDD_EDIT_MULTI_STRING
#define IDC_SHOW_REQUIREMENT
#define IDC_REQ_INT_ALTERNATIVE
#define IDS_REQDESCRIPTOR
#define IDD_EDIT_REQUIREMENTS_DMA
#define IDS_TOO_BIG_VALUE
#define IDS_SHARE_DRIVER_EXCLUSIVE
#define IDS_QUERY_DELETE_KEY_CONFIRM
#define IDC_INTERFACETYPE
#define IDS_BUS_INTERNALPOWERBUS
#define IDS_REQRESOURCELIST
#define IDD_EDIT_BIN_DATA
#define IDD_EDIT_RESOURCE_LIST
#define IDD_EDIT_REQUIREMENTS_LIST
#define IDD_EDIT_REQUIREMENTS_INT
#define IDC_REQ_DMA_ALTERNATIVE
#define IDS_DEFAULT_VALUE_NAME
#define IDS_BUS_UNKNOWNTYPE
#define IDS_INTERRUPT_EDGE_SENSITIVE
#define IDC_REQ_MEMORY_PREFERRED
#define IDC_REQINTERFACETYPE
#define IDS_MEMORY_READ_WRITE
#define IDS_MULTI_SZ_EMPTY_STRING
#define IDS_REQALTERNATIVELIST
#define IDS_SHARE_DEVICE_EXCLUSIVE
#define IDS_REQDEVICETYPE
#define IDC_REQ_PORT_SHARE
#define IDS_INTERRUPT_AFFINITY
#define IDC_REQ_PORT_PREFERRED
#define IDC_REQ_PORT_ALTERNATIVE
#define IDC_SHOW_RESOURCE
#define IDS_INTERRUPT_LEVEL_SENSITIVE
#define IDS_MEMORY_READ_ONLY
#define IDS_PORT_MEMORY_IO
#define IDC_REQ_DMA_SHARE
#define IDS_UNSUPPORTED_TYPE
#define IDC_RESOURCE_LIST
#define IDC_REQ_MEMORY_ALIGN
#define IDS_INTERRUPT_LEVEL
#define IDS_MEMORY_WRITE_ONLY
#define IDS_TYPE_INTERRUPT
#define IDS_SPECIFIC_DATASIZE
#define IDC_REQSLOTNUMBER
#define IDC_REQ_MEMORY_ALTERNATIVE
#define IDC_REQUIREMENTS_LIST
#define IDC_DRIVER_EXCLUSIVE
#define IDD_EDIT_REQUIREMENTS_PORT
#define IDC_REQ_INT_SHARE
#define IDC_REQ_MEMORY_LENGTH
#define RegCloseKey(hKey)
#define ERROR_NOT_ENOUGH_MEMORY
#define ERROR_INVALID_FUNCTION
LONG WINAPI RegCreateKeyExW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ DWORD Reserved, _In_opt_ LPWSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ LPDWORD lpdwDisposition)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegEnumKeyExW(_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_ LPWSTR lpName, _Inout_ LPDWORD lpcbName, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPWSTR lpClass, _Inout_opt_ LPDWORD lpcbClass, _Out_opt_ PFILETIME lpftLastWriteTime)
LONG WINAPI RegOpenKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegEnumValueW(_In_ HKEY hKey, _In_ DWORD index, _Out_ LPWSTR value, _Inout_ PDWORD val_count, _Reserved_ PDWORD reserved, _Out_opt_ PDWORD type, _Out_opt_ LPBYTE data, _Inout_opt_ PDWORD count)
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)
static DWORD DWORD * dwLength
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLint GLint GLsizei width
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
#define HexEdit_LoadBuffer(hWnd, Buffer, Size)
#define HexEdit_GetBufferSize(hWnd)
#define HexEdit_CopyBuffer(hWnd, Buffer, nMax)
#define CmResourceTypeMemory
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR * PCM_PARTIAL_RESOURCE_DESCRIPTOR
#define CmResourceTypeDma
#define CmResourceTypeDeviceSpecific
enum _INTERFACE_TYPE INTERFACE_TYPE
#define CmResourceTypePort
#define CmResourceTypeInterrupt
_Check_return_ _CRTIMP int __cdecl iscntrl(_In_ int _C)
_CRTIMP int __cdecl _vsnwprintf(wchar_t *_Dest, size_t _Count, const wchar_t *_Format, va_list _Args)
_Check_return_ unsigned long __cdecl wcstoul(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
_CONST_RETURN wchar_t *__cdecl wcsstr(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_SubStr)
#define memcpy(s1, s2, n)
int _snwprintf(wchar_t *buffer, size_t count, const wchar_t *format,...)
#define CM_RESOURCE_INTERRUPT_LEVEL_LATCHED_BITS
#define CM_RESOURCE_PORT_MEMORY
#define CM_RESOURCE_PORT_IO
#define CM_RESOURCE_MEMORY_READ_ONLY
#define CM_RESOURCE_MEMORY_READ_WRITE
#define CM_RESOURCE_MEMORY_WRITE_ONLY
#define CM_RESOURCE_INTERRUPT_LATCHED
#define REG_OPTION_NON_VOLATILE
#define REG_RESOURCE_LIST
#define REG_RESOURCE_REQUIREMENTS_LIST
#define REG_FULL_RESOURCE_DESCRIPTOR
#define UNREFERENCED_PARAMETER(P)
#define ListView_InsertItem(hwnd, pitem)
#define ListView_InsertColumn(hwnd, iCol, pcol)
#define LVS_EX_FULLROWSELECT
#define ListView_SetExtendedListViewStyle(hwndLV, dw)
struct tagNMLISTVIEW * LPNMLISTVIEW
#define ListView_SetItemText(hwndLV, i, iSubItem_, pszText_)
#define ListView_GetItem(hwnd, pitem)
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
_CRTIMP wchar_t *__cdecl wcscat(_Inout_updates_z_(_String_length_(_Dest)+_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
struct _IO_RESOURCE_DESCRIPTOR * PIO_RESOURCE_DESCRIPTOR
STRSAFEAPI StringCbCopyNW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszSrc, size_t cbToCopy)
STRSAFEAPI StringCbVPrintfW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszFormat, va_list argList)
STRSAFEAPI StringCbCopyW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszSrc)
STRSAFEAPI StringCbPrintfW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszFormat,...)
STRSAFEAPI StringCbCatW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszSrc)
CM_PARTIAL_RESOURCE_LIST PartialResourceList
INTERFACE_TYPE InterfaceType
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@393 Port
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@400 DeviceSpecificData
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@396 Memory
union _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391 u
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@394 Interrupt
struct _CM_PARTIAL_RESOURCE_DESCRIPTOR::@391::@397 Dma
CM_PARTIAL_RESOURCE_DESCRIPTOR PartialDescriptors[1]
CM_FULL_RESOURCE_DESCRIPTOR List[1]
union _IO_RESOURCE_DESCRIPTOR::@2051 u
struct _IO_RESOURCE_DESCRIPTOR::@2051::@2052 Port
struct _IO_RESOURCE_DESCRIPTOR::@2051::@2055 Dma
struct _IO_RESOURCE_DESCRIPTOR::@2051::@2053 Memory
struct _IO_RESOURCE_DESCRIPTOR::@2051::@2054 Interrupt
IO_RESOURCE_DESCRIPTOR Descriptors[1]
INTERFACE_TYPE InterfaceType
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID InterfaceType
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
const char * errstr(int errcode)
void int int ULONGLONG int va_list * ap
#define HKEY_LOCAL_MACHINE
#define HKEY_CURRENT_CONFIG
#define HKEY_CURRENT_USER
#define HKEY_CLASSES_ROOT
#define GetWindowTextLength
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
#define DialogBoxW(i, t, p, f)
BOOL WINAPI SetDlgItemTextW(_In_ HWND, _In_ int, _In_ LPCWSTR)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetDlgItemInt(_In_ HWND, _In_ int, _In_ UINT, _In_ BOOL)
HWND WINAPI SetFocus(_In_opt_ HWND)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
BOOL WINAPI CheckRadioButton(_In_ HWND, _In_ int, _In_ int, _In_ int)
#define MAKEINTRESOURCEW(i)
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
LRESULT WINAPI CallWindowProcW(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
INT_PTR WINAPI DialogBoxParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
_Must_inspect_result_ _In_ ULONG Flags
@ CmResourceShareDeviceExclusive
@ CmResourceShareUndetermined
@ CmResourceShareDriverExclusive
struct _IO_RESOURCE_LIST * PIO_RESOURCE_LIST
#define IO_RESOURCE_ALTERNATIVE
#define IO_RESOURCE_PREFERRED
_In_ LARGE_INTEGER _Out_opt_ PLARGE_INTEGER Remainder