53 ncm.cbSize =
sizeof(NONCLIENTMETRICS);
56 LogFont = ncm.lfMessageFont;
264 if (
wcslen(szString) == 38)
266 if ((szString[0] ==
L'{') && (szString[37] ==
L'}'))
271 szBuffer[36] =
L'\0';
272 wcscpy(szNewString, szBuffer);
287 PWSTR pstrStatusText;
290 ULONG ulStatus, ulProblemNumber;
304 Column.pszText =
NULL;
376 sizeof(szStatusText) /
sizeof(
WCHAR));
379 lstrcpy(pstrStatusText, szStatusText);
381 if (szBuffer[0] !=
L'\0')
567 *DevClassName =
L'\0';
594 lstrcpy(DevClassName, ClassName);
633 *DevClassDesc =
L'\0';
669 Column.pszText =
NULL;
683 if ((ClassRet != -1) && (DevExist))
687 Item.iImage = DevImage;
689 if (DevDesc[0] !=
L'\0')
705 while (ClassRet != -1);
812 psp.dwFlags =
PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE;
814 psp.pszHeaderSubTitle =
NULL;
823 psp.dwFlags =
PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE;
825 psp.pszHeaderSubTitle =
NULL;
834 psp.dwFlags =
PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE;
836 psp.pszHeaderSubTitle =
NULL;
845 psp.dwFlags =
PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE;
847 psp.pszHeaderSubTitle =
NULL;
865 psp.dwFlags =
PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE;
867 psp.pszHeaderSubTitle =
NULL;
876 psp.dwFlags =
PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE;
878 psp.pszHeaderSubTitle =
NULL;
908 psh.hwndParent =
hwnd;
938 DPRINT1(
"No support of remote installation yet!\n");
#define RegCloseKey(hKey)
CONFIGRET WINAPI CM_Enumerate_Classes(_In_ ULONG ulClassIndex, _Out_ LPGUID ClassGuid, _In_ ULONG ulFlags)
CONFIGRET WINAPI CM_Get_DevNode_Status_Ex(_Out_ PULONG pulStatus, _Out_ PULONG pulProblemNumber, _In_ DEVINST dnDevInst, _In_ ULONG ulFlags, _In_opt_ HMACHINE hMachine)
UINT WINAPI DeviceProblemTextW(IN HMACHINE hMachine OPTIONAL, IN DEVINST dnDevInst, IN ULONG uProblemId, OUT LPWSTR lpString, IN UINT uMaxString)
#define IDS_CPLDESCRIPTION
#define IDD_ISCONNECTEDPAGE
#define IDD_SELECTWAYPAGE
#define IDS_SELECTWAYTITLE
#define IDS_PROBELISTTITLE
#define IDD_NOTCONNECTEDPAGE
#define IDD_PROBELISTPAGE
#define DLL_PROCESS_ATTACH
#define INVALID_HANDLE_VALUE
#define HeapFree(x, y, z)
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
BOOL WINAPI SetupDiGetClassImageIndex(IN PSP_CLASSIMAGELIST_DATA ClassImageListData, IN CONST GUID *ClassGuid, OUT PINT ImageIndex)
BOOL WINAPI SetupDiGetClassImageList(OUT PSP_CLASSIMAGELIST_DATA ClassImageListData)
BOOL WINAPI SetupDiEnumDeviceInfo(HDEVINFO devinfo, DWORD index, PSP_DEVINFO_DATA info)
BOOL WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO devinfo)
static INT_PTR CALLBACK FinishPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static HFONT CreateTitleFont(VOID)
BOOL(WINAPI * PINSTALL_NEW_DEVICE)(HWND, LPGUID, PDWORD)
static INT_PTR CALLBACK DevStatusPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK ProgressPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT EnumDeviceClasses(INT ClassIndex, LPWSTR DevClassName, LPWSTR DevClassDesc, BOOL *DevPresent, INT *ClassImage)
static INT_PTR CALLBACK NotConnectedPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static int CALLBACK PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam)
static VOID InitHardWareTypesPage(HWND hwndDlg)
static INT_PTR CALLBACK StartPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
SP_CLASSIMAGELIST_DATA ImageListData
static INT_PTR CALLBACK SearchPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK SelectWayPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK IsConnectedPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
VOID WINAPI AddHardwareWizard(HWND hwnd, LPWSTR lpName)
static INT_PTR CALLBACK HdTypesPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL WINAPI InstallNewDevice(HWND hwndParent, LPGUID ClassGuid, PDWORD pReboot)
static VOID TrimGuidString(LPWSTR szString, LPWSTR szNewString)
static VOID InitProbeListPage(HWND hwndDlg)
static VOID HardwareWizardInit(HWND hwnd)
static INT_PTR CALLBACK ProbeListPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
static IN DWORD IN LPVOID lpvReserved
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static const WCHAR szGuid[]
struct _PSP * HPROPSHEETPAGE
#define UNREFERENCED_PARAMETER(P)
#define CreatePropertySheetPage
#define PropSheet_SetWizButtons(d, f)
#define ListView_InsertItem(hwnd, pitem)
#define ListView_InsertColumn(hwnd, iCol, pcol)
#define ListView_SetImageList(hwnd, himl, iImageList)
#define LVS_EX_FULLROWSELECT
#define ListView_GetItemCount(hwnd)
#define ListView_SetExtendedListViewStyle(hwndLV, dw)
#define ListView_GetItem(hwnd, pitem)
RPC_STATUS WINAPI UuidFromStringW(RPC_WSTR s, UUID *uuid)
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
#define SetupDiGetClassDevsEx
#define SetupDiClassNameFromGuid
#define SetupDiGetDeviceRegistryProperty
#define SetupDiGetClassDevs
#define SetupDiOpenClassRegKeyEx
struct _SP_DEVINFO_DATA SP_DEVINFO_DATA
#define SPDRP_FRIENDLYNAME
CHAR lfFaceName[LF_FACESIZE]
_In_ WDFCOLLECTION _In_ ULONG Index
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG RequiredSize
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
#define CreateFontIndirect
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
struct tagNMHDR * LPNMHDR
HDC WINAPI GetDC(_In_opt_ HWND)
HWND WINAPI GetParent(_In_ HWND)
#define MAKEINTRESOURCEW(i)
#define SystemParametersInfo
#define SendDlgItemMessage
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
int WINAPI GetSystemMetrics(_In_ int)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)