2.2.9 Constants Used in Method Definitions

The following constants are used in various methods.

Constant/value

Description

MAX_STRINGS

0x00000100

The maximum number of strings that a method accepts (typically in a NumStrings parameter).

MAX_SINGLE_EVENT

0x0003FFFF

The maximum data size that a method accepts for a single event (typically in a DataSize parameter).

MAX_BATCH_BUFF

0x0007FFFF

The maximum amount of data, in bytes, that can be read by a method (typically in a NumberOfBytesToRead parameter).