DeleteUmsCompletionList function

Deletes the specified user-mode scheduling (UMS) completion list. The list must be empty.

Syntax

BOOL DeleteUmsCompletionList(
  PUMS_COMPLETION_LIST UmsCompletionList
);

Parameters

UmsCompletionList

A pointer to the UMS completion list to be deleted. The CreateUmsCompletionList function provides this pointer.

Return Value

If the function succeeds, it returns a nonzero value.

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

Remarks

If the completion list is shared, the caller is responsible for ensuring that no active UMS thread holds a reference to the list before deleting it.

Requirements

   
Minimum supported client Windows 7 (64-bit only) [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winbase.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll