XLL+ Class Library

CXlSerialData::ReadArgList

Serializes a sequence of arguments from the stack, using an argument template to define the arguments

[C++]
bool ReadArgList(
   const char* pszTemplate,
   void* pvFirstArg,
   int omitArgs
);

Parameters

pszTemplate

Sequence of letters defining the argument list, excluding the return type, but optionally including '#' and '!' characters.

pvFirstArg

Address of the first argument to the add-in function. This pointer is used to traverse the argument stack, using the add-in function's registered definition to interpret the items in the stack.

omitArgs

If non-zero, this instructs the serializer to omit the last nOmitArgs arguments in the list.

Remarks

This method iterates through some or all of the arguments to an add-in function, and writes their values to a single continuous byte array. Note that the arguments are not prefixed by the name of the add-in function.

Requirements

Header: xlserialize.h

See Also

CXlSerialData Class | CXlSerialData Methods