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

Class DYNAPARM

source/script2.cpp:10530–10549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10528};
10529
10530struct DYNAPARM
10531{
10532 union
10533 {
10534 int value_int; // Args whose width is less than 32-bit are also put in here because they are right justified within a 32-bit block on the stack.
10535 float value_float;
10536 __int64 value_int64;
10537 UINT_PTR value_uintptr;
10538 double value_double;
10539 char *astr;
10540 wchar_t *wstr;
10541 void *ptr;
10542 };
10543 // Might help reduce struct size to keep other members last and adjacent to each other (due to
10544 // 8-byte alignment caused by the presence of double and __int64 members in the union above).
10545 DllArgTypes type;
10546 bool passed_by_address;
10547 bool is_unsigned; // Allows return value and output parameters to be interpreted as unsigned vs. signed.
10548 bool is_hresult; // Only used for the return value.
10549};
10550
10551#ifdef _WIN64
10552// This function was borrowed from http://dyncall.org/

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected