IExtendedObject.GetInnerObject(Guid, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
;