Share via


XRObject.CreateInstance(XRObject<Base> * *) (Compact 2013)

3/28/2014

This method creates an instance of the XRObject<Base> object.

Syntax

HRESULT CreateInstance(
XRObject<Base> ** pp)

Parameters

  • pp
    [in/out] Pointer to an XRObject<Base> object instance that supports functionality that resembles COM.

Return Value

The following table shows the possible return values.

Value

Description

S_OK

The method succeeded.

E_FAIL

The method was not successful.

E_OUTOFMEMORY

Exceeded available memory.

E_POINTER

The pp parameter is not valid.

Requirements

Header

XRUnknown.h

See Also

Reference

XRObject<Base>