The SimConnect_SetNotificationGroupPriority function is used to set the priority for a notification group.

 

 

Syntax
HRESULT SimConnect_SetNotificationGroupPriority(
  HANDLE  hSimConnect,
  SIMCONNECT_NOTIFICATION_GROUP_ID  GroupID,
  DWORD  uPriority
);

 

Parameters
ParameterDescriptionType
hSimConnectHandle to a SimConnect object.Integer
GroupIDSpecifies the ID of the client defined group.Integer
uPriorityRequests the group’s priority. See the explanation of SimConnect Priorities.Integer

 

 

Return Values

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return valueDescription
S_OKThe function succeeded.
E_FAILThe function failed.

 

 

Example
hr=SimConnect_SetNotificationGroupPriority(hSimConnect, GROUP0, SIMCONNECT_GROUP_PRIORITY_HIGHEST);

 

Remarks

 

See SimConnect Priorities for additional information.