mirror of
https://github.com/python/cpython.git
synced 2025-10-01 12:52:18 +00:00
Grammatical improvements for ctypes 'winmode' documentation (GH-19167)
This commit is contained in:
parent
02f72b8b93
commit
65417988a5
1 changed files with 2 additions and 2 deletions
|
@ -1440,8 +1440,8 @@ copy of the windows error code.
|
||||||
|
|
||||||
The *winmode* parameter is used on Windows to specify how the library is loaded
|
The *winmode* parameter is used on Windows to specify how the library is loaded
|
||||||
(since *mode* is ignored). It takes any value that is valid for the Win32 API
|
(since *mode* is ignored). It takes any value that is valid for the Win32 API
|
||||||
``LoadLibraryEx`` flags parameter. When omitted, the default is to use the flags
|
``LoadLibraryEx`` flags parameter. When omitted, the default is to use the
|
||||||
that result in the most secure DLL load to avoiding issues such as DLL
|
flags that result in the most secure DLL load, which avoids issues such as DLL
|
||||||
hijacking. Passing the full path to the DLL is the safest way to ensure the
|
hijacking. Passing the full path to the DLL is the safest way to ensure the
|
||||||
correct library and dependencies are loaded.
|
correct library and dependencies are loaded.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue