【发布时间】:2014-07-09 21:41:25
【问题描述】:
这是在 windows x64 for python 2.7 上
from ctypes import *
user32 = windll.user32
GWL_STYLE = -16
style = c_long(0)
pstyle = pointer(style)
pstyle = user32.GetWindowLongPtrW(hwnd, GWL_STYLE)
我收到标题错误。 ctypes不支持这个功能吗?我在这个 pyscript 中使用其他 user32 函数没有问题。
【问题讨论】:
标签: python-2.7 ctypes