src/p/y/python-cookbook-HEAD/cb2_examples/cb2_17_4_sol_1.py python-cookbook(Download)
from ctypes import windll, c_int, c_string, byref
# load 'Ehllapi.dll' (from current dir), and function 'hllapi' from the DLL
Ehllap32 = windll.ehllapi
hllapi = Ehllap32.hllapi
# prepare the arguments with types and initial values
h_func = c_int(1)
h_text = c_string('A')
src/b/r/braintree_python_examples-HEAD/tr_checkout_app_engine/web/wsgiserver/__init__.py braintree_python_examples(Download)
import fcntl
except ImportError:
try:
from ctypes import windll, WinError
except ImportError:
def prevent_socket_inheritance(sock):
"""Dummy function, since neither fcntl nor ctypes are available."""
src/p/y/python-cookbook-HEAD/cb2_examples/cb2_10_12_sol_1.py python-cookbook(Download)
from ctypes import windll dll = windll[r'C:\Path\To\Some.DLL'] result = dll.DllRegisterServer() result = dll.DllUnregisterServer()
src/c/o/cogen-0.2.1/cogen/core/proactors/ctypes_iocp_impl/api_wrappers.py cogen(Download)
from ctypes import WINFUNCTYPE, GetLastError, \
windll, pythonapi, cast, WinError, create_string_buffer, \
c_ushort, c_ubyte, c_char, WINFUNCTYPE, c_short, c_ubyte, \
c_int, c_uint, c_long, c_ulong, c_void_p, byref, c_char_p, \
Structure, Union, py_object, POINTER, pointer, sizeof, string_at
from ctypes.wintypes import HANDLE, ULONG, DWORD, BOOL, LPCSTR, LPCWSTR, WinError
src/b/r/brash-HEAD/windef.py brash(Download)
#FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR #OTHER DEALINGS IN THE SOFTWARE. from ctypes import c_void_p, c_int64, c_uint64, c_int32, c_uint32, c_int16, c_uint16, c_int8, c_uint8, c_float, c_char, c_char_p, c_wchar, c_wchar_p, HRESULT, POINTER, WINFUNCTYPE, Structure, Union, windll import winlitecfg _dll = windll.ntdll
src/s/p/Spark-HEAD/src/spark/gui/filetypes/win32.py Spark(Download)
import mimetypes import os from ctypes import windll, WinError, Structure, byref, sizeof, POINTER from ctypes import c_void_p, c_uint32, c_int32, c_uint16, c_ubyte from ctypes import c_wchar, c_wchar_p, c_char_p from PyQt4.QtGui import QPixmap
src/p/y/pylabeditor-HEAD/trunk/src/pylabeditor.py pylabeditor(Download)
import ctypes from ctypes import c_long, c_int from ctypes import windll from ctypes import Structure, c_long, c_byte, c_wchar_p, c_ulong, byref from ctypes import windll
src/p/y/pylabeditor-HEAD/src/pylabeditor.py pylabeditor(Download)
import ctypes from ctypes import c_long, c_int from ctypes import windll from ctypes import Structure, c_long, c_byte, c_wchar_p, c_ulong, byref from ctypes import windll
src/p/y/Pymem-HEAD/pymem/modules/memory_eigenizer.py Pymem(Download)
# ---------------------------------------------------------------------------- from decorator import hasHandle from ctypes import create_string_buffer, c_ulong, byref, c_int, c_uint, c_ulonglong, c_float, c_char_p,windll import struct class Memory(object):
src/p/y/pyvisa-HEAD/trunk/src/vpp43.py pyvisa(Download)
from ctypes import byref, cdll, c_void_p, c_double, c_long, \
create_string_buffer, POINTER
if os.name == 'nt':
from ctypes import windll, WINFUNCTYPE as FUNCTYPE
else:
from ctypes import CFUNCTYPE as FUNCTYPE
import warnings
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Next