Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/enthought/comtypes
/ create_new
Method
create_new
comtypes/GUID.py:79–83 ·
view source on GitHub ↗
Create a brand new guid
(cls)
Source
from the content-addressed store, hash-verified
77
78
@classmethod
79
def
create_new(cls) ->
"hints.Self"
:
80
""
"Create a brand new guid"
""
81
guid = cls()
82
_CoCreateGuid(byref(guid))
83
return
guid
84
85
86
REFCLSID = POINTER(GUID)
Callers
15
test_raises_class_not_reg_error_if_non_existent_clsid
Method · 0.80
test_derived
Method · 0.80
IBase
Class · 0.80
IDerived
Class · 0.80
test_generic_composite
Method · 0.80
test_item
Method · 0.80
test_class
Method · 0.80
test_generic_composite_with_same_type
Method · 0.80
test_generic_composite_with_item
Method · 0.80
test_anti_with_generic_composite
Method · 0.80
test_anti_with_item
Method · 0.80
test_anti_with_class
Method · 0.80
Calls
no outgoing calls
Tested by
15
test_raises_class_not_reg_error_if_non_existent_clsid
Method · 0.64
test_derived
Method · 0.64
test_generic_composite
Method · 0.64
test_item
Method · 0.64
test_class
Method · 0.64
test_generic_composite_with_same_type
Method · 0.64
test_generic_composite_with_item
Method · 0.64
test_anti_with_generic_composite
Method · 0.64
test_anti_with_item
Method · 0.64
test_anti_with_class
Method · 0.64
test_item_with_same_type
Method · 0.64
test_class_with_same_type
Method · 0.64