Export (0) Print
Expand All
Expand Minimize

AvRtLeaveThreadOrderingGroup function

Enables client threads to leave a thread ordering group.

Syntax


BOOL WINAPI AvRtLeaveThreadOrderingGroup(
  _In_  HANDLE Context
);

Parameters

Context [in]

A context handle. This handle is returned by the AvRtJoinThreadOrderingGroup function.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

The parent thread for a thread ordering group should not remove itself from the group.

If a thread times out and attempts to call this function, the function fails with a last error code of ERROR_INVALID_PARAMETER.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Avrt.h

Library

Avrt.lib

DLL

Avrt.dll

See also

Thread Ordering Service

 

 

Community Additions

ADD
Show:
© 2014 Microsoft