TaskCompletionClient::ApplyTaskCompletion method

Begins the task completion.

Syntax

HRESULT ApplyTaskCompletion(
    UINT32   ptcfCategory
);

Parameters

ptcfCategory

A value indicating the category of the task.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The only supported value for ptcfCategory is 0x08000000.

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016 [desktop apps only]
DLL
ExecModelClient.dll

See also

TaskCompletionClient