Bewerken

Delen via


PropertiesListCopy function (sensorsutils.h)

This routine copies a properties list from source to target.

Syntax

NTSTATUS PropertiesListCopy(
  [in] PSENSOR_PROPERTY_LIST       Target,
  [in] const PSENSOR_PROPERTY_LIST Source
);

Parameters

[in] Target

Pointer to a collection list to copy to.

[in] Source

Pointer to a collection list to copy.

Return value

This function returns:

  • STATUS_INVALID_PARAMETER if the Target or Source is nullptr.
  • STATUS_BUFFER_TOO_SMALL if the Target collection list is not large enough to contain the content of the Source collection list.
  • STATUS_SUCCESS if the copy was successful.

Requirements

Requirement Value
Header sensorsutils.h