PyDocs

Nav

Generic Operating System Services

SHORT

c_short
1 Example
>>> from ctypes import POINTER
>>> from ctypes.wintypes import LPRECT, RECT, SHORT
>>> SHORT(-1).value
-1
>>> rect = RECT(0, 0, 100, 50)
>>> rect.right, rect.bottom
(100, 50)
>>> LPRECT is POINTER(RECT)
True
from the Python docs
See Also
No see-alsos for ctypes.wintypes/SHORT
0 Notes
No notes for SHORT