MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / ToVariant

Method ToVariant

source/script_com.h:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 IObject_DebugWriteProperty_Def;
83
84 void ToVariant(VARIANT &aVar)
85 {
86 aVar.vt = mVarType;
87 aVar.llVal = mVal64;
88 // Caller handles this if needed:
89 //if (VT_DISPATCH == mVarType && mDispatch)
90 // mDispatch->AddRef();
91 }
92
93 ComObject(IDispatch *pdisp)
94 : mVal64((__int64)pdisp), mVarType(VT_DISPATCH), mEventSink(NULL), mFlags(0) { }

Callers 1

TokenToVariantFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected