SIMCONNECT_CLIENT_DATA_PERIOD
The SIMCONNECT_CLIENT_DATA_PERIOD enumeration type is used with the SimConnect_RequestClientData call to specify how often data is to be sent to the client.
Syntax
enum SIMCONNECT_CLIENT_DATA_PERIOD{
SIMCONNECT_PERIOD_NEVER,
SIMCONNECT_PERIOD_ONCE,
SIMCONNECT_PERIOD_VISUAL_FRAME,
SIMCONNECT_PERIOD_ON_SET,
SIMCONNECT_PERIOD_SECOND,
};
Members
Member | Description |
---|---|
SIMCONNECT_PERIOD_NEVER |
Specifies that the data is not to be sent. |
SIMCONNECT_PERIOD_ONCE |
Specifies that the data should be sent once only. Note that this is not an efficient way of receiving data frequently, use one of the other periods if there is a regular frequency to the data request. |
SIMCONNECT_PERIOD_VISUAL_FRAME |
Specifies that the data should be sent every visual (rendered) frame. |
SIMCONNECT_PERIOD_ON_SET |
Specifies that the data should be sent whenever it is set. |
SIMCONNECT_PERIOD_SECOND |
Specifies that the data should be sent once every second. |
Remarks
There is no limit to the number of system events that can be subscribed to, but use this function to improve performance when a system event notification is no longer needed.
See Also