The CopyHelperAttribute function creates a copy of a HELPER_ATTRIBUTE structure.
Syntax
HRESULT CopyHelperAttribute(
_Out_ HELPER_ATTRIBUTE *Dest,
_In_ const HELPER_ATTRIBUTE *Source
);
Parameters
Dest [out]
Type: HELPER_ATTRIBUTE*
The structure to be updated.
Source [in]
Type: const HELPER_ATTRIBUTE*
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
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
