Structure containing the return value data for value-returning tokens.
typedef struct _tagMAC_VARIABLE { HSZ hszCommand; MAC_IPCVERSION Version; HSZ hszRequestor; MAC_MACROID dwMacroID; ATOM atomApp; WORD wReserved; MAC_VALUE_TYPE eType; MAC_TOKENID wSysVarID; MAC_SYMBOLNAME wzSymbolName union { BOOL fData; VALUE_FLOAT drData; VALUE_INT lData; struct { WORD wStrLen; union { WZ wzData[1]; AZ azData[1]; } uStr; } stData; } uValue; } MAC_VARIABLE, *PMAC_VARIABLE, FAR *LPMAC_VARIABLE;
The following types are used:
MAC_VARIABLE |
Structure containing the return value information for a token. |
LPMAC_VARIABLE |
Far pointer to a MAC_VARIABLE structure. |
MAC_IPCVERSION |
|
PMAC_VARIABLE |
Pointer to a MAC_VARIABLE structure. |
The members are defined as follows:
hszCommand |
Structure containing the return value information for a token. |
Version |
Indicates the IPC version and must be set to 0 (==0). |
hszRequestor |
Far pointer to a MAC_VARIABLE structure. |
dwMacroID |
|
atomApp |
Indicates the IPC version and must be set to 0 (==0). |
wSysVarID |
System variable identifier. |
wzSymbolName |
Word string containing the symbol name. |
eType |
Return value type. Must be in the range between VALUE_VARIABLE_TYPES+1 and VALUE_END_OF_TYPES. See MAC_VALUE_TYPE. |
uValue |
Union containing the actual return value. fData Boolean data.drData Floating point data.lData Integer data.stData String data union.wStrLen Character length of string data.uStr String union.wzData Word data.azData ANSI string data. |