Share via


_ItemLifeManager.CloneToBox(WCHAR *,XRValue *) (Compact 2013)

3/28/2014

This method returns an XRValue object that encapsulates the specified text string.

Syntax

HRESULT CloneToBox(
WCHAR * pItem,
XRValue * pValue)

Parameters

  • pItem
    [in] A pointer to a text string to encapsulate into an XRValue object.
  • pValue
    [out] A pointer to an XRValue object that encapsulates the text string in the pItem parameter.

Return Value

The following table shows the possible return values.

Value

Description

S_OK

The method succeeded.

E_POINTER

The pValue parameter is not valid.

Remarks

This method boxes the text string in pItem by wrapping it into an XRValue value-type object.

Requirements

Header

XRCollection.h

See Also

Reference

_ItemLifeManager