Kernel64 (Windows __stdcall
)¤
Communicate with the kernel32.dll library via the Kernel32 class that is running on a server.
Note
This example is only valid on Windows.
Kernel64 ¤
Kernel64()
Bases: Client64
Communicate with a 32-bit Windows __stdcall
library.
This class demonstrates how to communicate with a Windows 32-bit library if an instance of this class is created within a 64-bit Python interpreter.
Source code in src/msl/examples/loadlib/kernel64.py
23 24 25 26 27 28 29 30 31 32 33 |
|
get_local_time ¤
get_local_time()
Requests kernel32.GetLocalTime function to get the current date and time.
See the corresponding Kernel32.get_local_time method.
Returns:
Type | Description |
---|---|
datetime
|
The current date and time. |
Source code in src/msl/examples/loadlib/kernel64.py
35 36 37 38 39 40 41 42 43 44 45 46 |
|