Skip to content

Commit

Permalink
Merge pull request #114 from tqphan/tqphan-patch-1
Browse files Browse the repository at this point in the history
fixed a typo in native.md
  • Loading branch information
TolikPylypchuk authored Jul 13, 2024
2 parents 995d5d2 + ab4fe35 commit 812184d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/articles/native.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ libuiohook also provides functions which get various pieces of information about

These functions are quite straightforward, except for `CreateScreenInfo`. `UioHook` defines two versions of this
function. One is a native function which returns an unmanaged array of `ScreenData` objects (as an `IntPtr`) along
with its length in an output parameter. Another is a wrapper which returs a managed array. Use the second one if you
with its length in an output parameter. Another is a wrapper which returns a managed array. Use the second one if you
need it since it's safer. If you decide to use the native version then you must free the returned memory manually.

The safe version of `CreateScreenInfo` is also defined in the `SharpHook.Providers.IScreenInfoProvider` interface.
Expand Down

0 comments on commit 812184d

Please sign in to comment.