[1/9] setupapi: add header information for SetupPromptForDisk
Ricardo Filipe
ricardo_barbano at hotmail.com
Wed Feb 18 17:45:20 CST 2009
first patch on a series of 9 to implement the functions
SetupPromptForDiskA/W.
this one adds missing values to setupapi.h and adds the resource ids for the
dialog to setupapi_private.h
it also fixes an old value of setupapi.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20090218/dabf6369/attachment.htm
-------------- next part --------------
From 9a726857510ce94a46a45129564e583b0dca7656 Mon Sep 17 00:00:00 2001
From: Ricardo Filipe <ricardo_barbano at hotmail.com>
Date: Wed, 18 Feb 2009 03:03:00 +0000
Subject: setupapi: add header information for SetupPromptForDisk
---
dlls/setupapi/setupapi_private.h | 11 +++++++++++
include/setupapi.h | 14 +++++++++-----
2 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/dlls/setupapi/setupapi_private.h b/dlls/setupapi/setupapi_private.h
index d01edba..0104f6b 100644
--- a/dlls/setupapi/setupapi_private.h
+++ b/dlls/setupapi/setupapi_private.h
@@ -24,6 +24,17 @@
#define DESTSTRORD 501
#define PROGRESSORD 502
+#define IDPROMPTFORDISK 1001
+#define IDC_FILENEEDED 503
+#define IDC_INFO 504
+#define IDC_COPYFROM 505
+#define IDC_PATH 506
+#define IDC_RUNDLG_BROWSE 507
+
+#define IDS_PROMPTDISK 508
+#define IDS_UNKNOWN 509
+#define IDS_COPYFROM 510
+#define IDS_INFO 511
#define REG_INSTALLEDFILES "System\\CurrentControlSet\\Control\\InstalledFiles"
#define REGPART_RENAME "\\Rename"
diff --git a/include/setupapi.h b/include/setupapi.h
index b36243a..009af29 100644
--- a/include/setupapi.h
+++ b/include/setupapi.h
@@ -1295,11 +1295,11 @@ DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_INF_SIGNER_INFO)
#define SPDRP_INSTALL_STATE 0x00000022
#define SPDRP_MAXIMUM_PROPERTY 0x00000023
-#define DPROMPT_SUCCESS 0
-#define DPROMPT_CANCEL 1
-#define DPROMPT_SKIPFILE 2
-#define DPROMPT_BUFFERTOSMALL 3
-#define DPROMPT_OUTOFMEMORY 4
+#define DPROMPT_SUCCESS 0
+#define DPROMPT_CANCEL 1
+#define DPROMPT_SKIPFILE 2
+#define DPROMPT_BUFFERTOOSMALL 3
+#define DPROMPT_OUTOFMEMORY 4
#define SETDIRID_NOT_FULL_PATH 0x00000001
@@ -1312,6 +1312,10 @@ DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_INF_SIGNER_INFO)
#define IDF_NOFOREGROUND 0x00000400
#define IDF_WARNIFSKIP 0x00000800
+#define IDF_NOREMOVABLEMEDIAPROMPT 0x00001000
+#define IDF_USEDISKNAMEASPROMPT 0x00002000
+#define IDF_OEMDISK 0x80000000
+
#define INFINFO_INF_SPEC_IS_HINF 1
#define INFINFO_INF_NAME_IS_ABSOLUTE 2
#define INFINFO_DEFAULT_SEARCH 3
--
1.5.6.3
More information about the wine-patches
mailing list