From a52c04a06c22f6828af7b0e82d86c4a62c1b2c78 Mon Sep 17 00:00:00 2001 From: mriehm <3916550+mriehm@users.noreply.github.com> Date: Thu, 22 May 2025 14:38:55 -0500 Subject: [PATCH 1/2] Correct parameter name in ImageLockModeUserInputBuf description --- xml/System.Drawing.Imaging/ImageLockMode.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Drawing.Imaging/ImageLockMode.xml b/xml/System.Drawing.Imaging/ImageLockMode.xml index 706f967c2f1..89493bd56fd 100644 --- a/xml/System.Drawing.Imaging/ImageLockMode.xml +++ b/xml/System.Drawing.Imaging/ImageLockMode.xml @@ -142,7 +142,7 @@ 4 - Specifies that the buffer used for reading or writing pixel data is allocated by the user. If this flag is set, the parameter of the method serves as an input parameter (and possibly as an output parameter). If this flag is cleared, then the parameter serves only as an output parameter. + Specifies that the buffer used for reading or writing pixel data is allocated by the user. If this flag is set, the parameter of the method serves as an input parameter (and possibly as an output parameter). If this flag is cleared, then the parameter serves only as an output parameter. From f7e6e47f36c42f530f7620d7d90d57249d9c69db Mon Sep 17 00:00:00 2001 From: mriehm <3916550+mriehm@users.noreply.github.com> Date: Fri, 23 May 2025 02:20:37 -0500 Subject: [PATCH 2/2] Add Bitmap.LockBits() overload link Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> --- xml/System.Drawing.Imaging/ImageLockMode.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Drawing.Imaging/ImageLockMode.xml b/xml/System.Drawing.Imaging/ImageLockMode.xml index 89493bd56fd..554239c119e 100644 --- a/xml/System.Drawing.Imaging/ImageLockMode.xml +++ b/xml/System.Drawing.Imaging/ImageLockMode.xml @@ -142,7 +142,7 @@ 4 - Specifies that the buffer used for reading or writing pixel data is allocated by the user. If this flag is set, the parameter of the method serves as an input parameter (and possibly as an output parameter). If this flag is cleared, then the parameter serves only as an output parameter. + Specifies that the buffer used for reading or writing pixel data is allocated by the user. If this flag is set, the parameter of the method serves as an input parameter (and possibly as an output parameter). If this flag is cleared, then the parameter serves only as an output parameter.