CopyRootCauseInfo function

The CopyRootCauseInfo function creates a copy of a RootCauseInfo structure.

Syntax

HRESULT CopyRootCauseInfo(
  _Out_       RootCauseInfo *Dest,
  _In_  const RootCauseInfo *Source
);

Parameters

Dest [out]

Type: RootCauseInfo*

The structure to be updated.

Source [in]

Type: const RootCauseInfo*

The existing structure to be copied.

Return value

Type: HRESULT

Possible return values include, but are not limited to, the following.

Return code Description
S_OK
The operation succeeded.
E_INVALIDARG
One or more parameters has not been provided correctly.
E_OUTOFMEMORY
There is not enough memory available to complete this operation.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
Ndattributils.h

See also

RootCauseInfo