Partager via


IDocumentSite2.GetCompiler(Guid, IntPtr) Method

Definition

Returns the requested interface of the compiler for the document.

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

Parameters

iid
Guid

[in] Requested interface (REFIID).

ppvObj
IntPtr

nativeint

[out] The desired interface.

Returns

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

Implements

Remarks

COM Signature

From objext.idl:

[C++]

HRESULT IDocumentSite2::GetCompiler(  
   [in] REFIID iid,   
   [out] void** ppvObj  
);  

Applies to