Serial Framework C++ Edition

◆ SetSyncMethod()

static int SetSyncMethod ( const wclMessageSynchronizationKind  Kind)
static

Changes the current inter-threading synchronization method.

Parameters
KindThe new synchronization method.
Returns
If the function succeed the returns value is WCL_E_SUCCESS. Otherwise the function returns one of the WCL error codes.

An application must call this method to change the current inter-threading synchronization method before any other call to WCL.

See also
wclMessageSynchronizationKind