Skip to content

WinSDK: add Shell32 #33849

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

Merged
merged 1 commit into from
Sep 10, 2020
Merged

WinSDK: add Shell32 #33849

merged 1 commit into from
Sep 10, 2020

Conversation

dduan
Copy link
Contributor

@dduan dduan commented Sep 8, 2020

This header and .lib features useful APIs such as SHFileOperation, which seems to be the preferred way to manipulate file systems for certain things.

This header and .lib features useful APIs such as [SHFileOperation](https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shfileoperationw), which seems to be the preferred way to manipulate file systems for certain things.
@theblixguy theblixguy requested a review from compnerd September 8, 2020 00:44
@dduan
Copy link
Contributor Author

dduan commented Sep 8, 2020

@swift-ci smoke test

@dduan
Copy link
Contributor Author

dduan commented Sep 8, 2020

@swift-ci smoke test Windows Platform

@dduan
Copy link
Contributor Author

dduan commented Sep 8, 2020

smoke test Linux Platform

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I'm wondering if we want to rename the old module or not. The original module is the lightweight Shell API, and this is the full one. Either way, as long as it builds, this seems reasonable, but I would like to test the build locally, since we're missing coverage on Foundation :(. I learnt the hard way with the last rebranch.

@dduan
Copy link
Contributor Author

dduan commented Sep 8, 2020

ah. The only test I ran locally is modifying the installed .modulemap and use one of the APIs in the local build. It appeared to have worked well.

@dduan
Copy link
Contributor Author

dduan commented Sep 8, 2020

@swift-ci smoke test Linux Platform

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems that I can build Foundation with this change just fine. Still not sure about how to best handle the lightweight vs full API surface for shell, but that can be improved as a follow up.

@compnerd
Copy link
Member

@swift-ci please smoke test Linux platform

@dduan dduan merged commit 3fe7abe into swiftlang:master Sep 10, 2020
@dduan dduan deleted the shell32 branch September 10, 2020 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants