mirror of
https://github.com/naksyn/PythonMemoryModule
synced 2026-06-06 16:24:25 +00:00
9bb2f6761d
Added control for empty passed argument and moved windows folder out for easier importing.
14 lines
413 B
Python
14 lines
413 B
Python
import ctypes
|
|
import windows.generated_def as gdef
|
|
|
|
from ..apiproxy import ApiProxy, NeededParameter, is_implemented
|
|
from ..error import succeed_on_zero
|
|
|
|
class OleaccProxy(ApiProxy):
|
|
APIDLL = "Oleacc"
|
|
default_error_check = staticmethod(succeed_on_zero)
|
|
|
|
@OleaccProxy()
|
|
def ObjectFromLresult(lResult, riid, wParam, ppvObject):
|
|
return ObjectFromLresult.ctypes_function(lResult, riid, wParam, ppvObject)
|