OpenAsInfoFlags Enumeration
Flags for
Flags property.
Namespace: DevCase.Win32.EnumsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum OpenAsInfoFlags
<FlagsAttribute>
Public Enumeration OpenAsInfoFlags
Dim instance As OpenAsInfoFlags
[FlagsAttribute]
public enum class OpenAsInfoFlags
[<FlagsAttribute>]
type OpenAsInfoFlags
No code example is currently available or this language may not be supported.
None |
0 |
|
AllowRegistration |
1 |
Enable the "always use this program" checkbox.
If not passed, it will be disabled.
Starting in Windows 10, the AllowRegistration flag will be
ignored by SHOpenWithDialog(IntPtr, OpenAsInfo).
The Open With dialog box can no longer be used to change the default program used to open a file extension.
You can only use SHOpenWithDialog(IntPtr, OpenAsInfo) to open a single file.
|
RegisterExtension |
2 |
Do the registration after the user hits the OK button.
|
Execute |
4 |
Execute file after registering.
|
ForceRegistration |
8 |
Force the Always use this program checkbox to be checked.
Typically, you won't use the AllowRegistration flag when you pass this value.
Starting in Windows 10, the ForceRegistration flag will be
ignored by SHOpenWithDialog(IntPtr, OpenAsInfo).
The Open With dialog box can no longer be used to change the default program used to open a file extension.
You can only use SHOpenWithDialog(IntPtr, OpenAsInfo) to open a single file.
|
HideRegistration |
32 |
Hide the Always use this program checkbox.
If this flag is specified, the AllowRegistration
and ForceRegistration flags will be ignored.
Starting in Windows 10, the HideRegistration flag will be
ignored by SHOpenWithDialog(IntPtr, OpenAsInfo).
The Open With dialog box can no longer be used to change the default program used to open a file extension.
You can only use SHOpenWithDialog(IntPtr, OpenAsInfo) to open a single file.
|
UrlProtocol |
64 |
The value for the extension that is passed is actually a protocol,
so the Open With dialog box should show applications that are
registered as capable of handling that protocol.
|
FileIsUri |
128 |
The location pointed to by the parameter is given as a URI.
|