Partager via


IExtendedObject.GetInnerObject(Guid, IntPtr) Method

Definition

Retrieves the inner object corresponding to a GUID.

public:
 int GetInnerObject(Guid % iid, [Runtime::InteropServices::Out] IntPtr % ppvObject);
public int GetInnerObject (ref Guid iid, out IntPtr ppvObject);
abstract member GetInnerObject : Guid * nativeint -> int
Public Function GetInnerObject (ByRef iid As Guid, ByRef ppvObject As IntPtr) As Integer

Parameters

iid
Guid

[in] The GUID of the desired inner object.

ppvObject
IntPtr

nativeint

[out] Reference to the inner object.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From designer.idl:

HRESULT IExtendedObject::GetInnerObject(  
   [in] REFIID iid,   
   [out, iid_is(iid)] void ** ppvObject  
;  

Applies to