PrjCompleteCommand function (projectedfslib.h)

Indicates that the provider has completed processing a callback from which it had previously returned HRESULT_FROM_WIN32(ERROR_IO_PENDING).

Syntax

HRESULT PrjCompleteCommand(
  [in]           PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT     namespaceVirtualizationContext,
  [in]           INT32                                    commandId,
  [in]           HRESULT                                  completionResult,
  [in, optional] PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS *extendedParameters
);

Parameters

[in] namespaceVirtualizationContext

Opaque handle for the virtualization instance. This must be the value from the VirtualizationInstanceHandle member of the callbackData passed to the provider in the callback that is being complete.

[in] commandId

A value identifying the callback invocation that the provider is completing. This must be the value from the CommandId member of the callbackData passed to the provider in the callback that is being completed.

[in] completionResult

The final HRESULT of the operation.

[in, optional] extendedParameters

Optional pointer to extended parameters required for completing certain callbacks.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Target Platform Windows
Header projectedfslib.h