Update vendored windows libs

This commit is contained in:
Labrys of Knossos 2022-11-28 05:59:32 -05:00
commit b1cefa94e5
226 changed files with 33472 additions and 11882 deletions

View file

@ -4,17 +4,18 @@ import ctypes
def ensure_unicode(param):
try:
param = ctypes.create_unicode_buffer(param)
except TypeError:
pass # just return the param as is
return param
try:
param = ctypes.create_unicode_buffer(param)
except TypeError:
pass # just return the param as is
return param
class Extended(object):
"Used to add extended capability to structures"
def __eq__(self, other):
return memoryview(self) == memoryview(other)
"Used to add extended capability to structures"
def __ne__(self, other):
return memoryview(self) != memoryview(other)
def __eq__(self, other):
return memoryview(self) == memoryview(other)
def __ne__(self, other):
return memoryview(self) != memoryview(other)