-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Convert BitBlt to cswin32 PInvoke #7446
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
Conversation
- Add HDC conversion to scopes - Remove unused BeginPath
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Welcome back!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 with stylistics nits
| GetCurrentProcessId | ||
| GlobalReAlloc | ||
| GlobalFree | ||
| BitBlt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to #7444 (comment) - please have this file sorted in alphabetical order.
| IHandle hdc, | ||
| int x, | ||
| int y, | ||
| int cx, | ||
| int cy, | ||
| HDC hdcSrc, | ||
| int x1, | ||
| int y1, | ||
| ROP_CODE rop) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did the indentation change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! Must've happened by accident when I was moving things around.
| using System.Drawing.Imaging; | ||
| using System.Runtime.InteropServices; | ||
| using Windows.Win32; | ||
| using static Interop; | ||
| using Gdi = Windows.Win32.Graphics.Gdi; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome back!
* Convert BitBlt to cswin32 PInvoke - Add HDC conversion to scopes - Remove unused BeginPath - NativeMethods.txt
* Convert BitBlt to cswin32 PInvoke - Add HDC conversion to scopes - Remove unused BeginPath - NativeMethods.txt

Microsoft Reviewers: Open in CodeFlow