-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add extended file operation flags (FOFX_*) #1687
Comments
@mikebattista Warning:
FOF flags are UInt16 and designed for use with |
That's not what the docs say. |
Isn't that always the case though? 🙃 Here's an extract from the headers: // shellapi.h
typedef WORD FILEOP_FLAGS;
typedef struct _SHFILEOPSTRUCTW
{
HWND hwnd;
UINT wFunc;
PCZZWSTR pFrom;
PCZZWSTR pTo;
FILEOP_FLAGS fFlags;
BOOL fAnyOperationsAborted;
LPVOID hNameMappings;
PCWSTR lpszProgressTitle; // only used if FOF_SIMPLEPROGRESS
} SHFILEOPSTRUCTW, *LPSHFILEOPSTRUCTW; (This is why extended flags exist and are only compatible with the newer COM API.) |
I optimized for the newer COM API which accepts DWORD. We can add AssociatedEnum to this older struct. |
I think by doing that, we'll be subtly indicating to projections that they can pass 32-bit integers through to |
See
shobjidl_core.idl
Proposed namespace:
Windows.Win32.UI.Shell
The text was updated successfully, but these errors were encountered: