@@ -2342,7 +2342,7 @@ msgstr "引发一个 :ref:`审计事件 <auditing>` ``ctypes.get_errno``,不
23422342msgid ""
23432343"Windows only: returns the current value of the ctypes-private copy of the "
23442344"system :data:`!LastError` variable in the calling thread."
2345- msgstr ""
2345+ msgstr "仅限 Windows:返回调用线程中系统 :data:`!LastError` 变量的 ctypes 私有副本的当前值。 "
23462346
23472347#: ../../library/ctypes.rst:2016
23482348msgid ""
@@ -2417,6 +2417,8 @@ msgid ""
24172417" :data:`!LastError` variable in the calling thread to *value* and return the"
24182418" previous value."
24192419msgstr ""
2420+ "仅限 Windows:设置调用线程中系统 :data:`!LastError` 变量的 ctypes 私有副本的当前值为 *value* "
2421+ "并返回原来的值。"
24202422
24212423#: ../../library/ctypes.rst:2070
24222424msgid ""
@@ -2872,7 +2874,7 @@ msgstr ""
28722874msgid ""
28732875"Windows only: Represents a :c:type:`!HRESULT` value, which contains success "
28742876"or error information for a function or method call."
2875- msgstr ""
2877+ msgstr "仅限 Windows:代表一个 :c:type:`!HRESULT` 值,它包含某个函数或方法调用的成功或错误信息。 "
28762878
28772879#: ../../library/ctypes.rst:2440
28782880msgid ""
@@ -2889,6 +2891,9 @@ msgid ""
28892891":c:type:`!DWORD`. Some useful structures like :c:type:`!MSG` or "
28902892":c:type:`!RECT` are also defined."
28912893msgstr ""
2894+ ":mod:`!ctypes.wintypes` 模块提供了其他许多 Windows 专属的数据类型,例如 :c:type:`!HWND`, "
2895+ ":c:type:`!WPARAM` 或 :c:type:`!DWORD`。 还定义了一些有用的结构体如 :c:type:`!MSG` 或 "
2896+ ":c:type:`!RECT`。"
28922897
28932898#: ../../library/ctypes.rst:2451
28942899msgid "Structured data types"
0 commit comments