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=…
==============================================================================
--- 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) */