[ros-diffs] [janderwald] 32891: - add SHOpenWithDialog prototype and structure

janderwald at svn.reactos.org janderwald at svn.reactos.org
Mon Apr 7 23:40:55 CEST 2008


Author: janderwald
Date: Mon Apr  7 16:40:55 2008
New Revision: 32891

URL: http://svn.reactos.org/svn/reactos?rev=32891&view=rev
Log:
- add SHOpenWithDialog prototype and structure

Modified:
    trunk/reactos/include/psdk/shlobj.h

Modified: trunk/reactos/include/psdk/shlobj.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/shlobj.h?rev=32891&r1=32890&r2=32891&view=diff
==============================================================================
--- trunk/reactos/include/psdk/shlobj.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/shlobj.h [iso-8859-1] Mon Apr  7 16:40:55 2008
@@ -1506,6 +1506,36 @@
 	LPCITEMIDLIST* apidl,
 	IDataObject **ppdtobj);
 
+/****************************************************************************
+ * SHOpenWithDialog
+ */
+
+enum tagOPEN_AS_INFO_FLAGS 
+{
+	OAIF_ALLOW_REGISTRATION = 1,
+	OAIF_REGISTER_EXT       = 2,
+	OAIF_EXEC               = 4,
+	OAIF_FORCE_REGISTRATION = 8,
+#if (NTDDI_VERSION >= NTDDI_VISTA)
+	OAIF_HIDE_REGISTRATION  = 32,
+	OAIF_URL_PROTOCOL       = 64,
+#endif
+};
+typedef int OPEN_AS_INFO_FLAGS;
+
+
+typedef struct tagOPENASINFO {
+	LPCTSTR pcszFile;
+	LPCTSTR pcszClass;
+	OPEN_AS_INFO_FLAGS oaifInFlags;
+} OPENASINFO;
+
+HRESULT SHOpenWithDialog(
+  HWND hwndParent,
+  const OPENASINFO *poainfo
+);
+
+
 #ifdef __cplusplus
 } /* extern "C" */
 #endif /* defined(__cplusplus) */



More information about the Ros-diffs mailing list