mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
- add SHOpenWithDialog prototype and structure
svn path=/trunk/; revision=32891
This commit is contained in:
parent
b242c12bdc
commit
433a6fb967
|
@ -1506,6 +1506,36 @@ HRESULT WINAPI CIDLData_CreateFromIDArray(
|
|||
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) */
|
||||
|
|
Loading…
Reference in a new issue