Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Function FGetActiveComponent ( _
    dwgac As UInteger, _
    <OutAttribute> ByRef ppic As IOleComponent, _
    <OutAttribute> pcrinfo As OLECRINFO(), _
    dwReserved As UInteger _
) As Integer
int FGetActiveComponent(
    uint dwgac,
    out IOleComponent ppic,
    OLECRINFO[] pcrinfo,
    uint dwReserved
)
int FGetActiveComponent(
    [InAttribute] unsigned int dwgac, 
    [OutAttribute] IOleComponent^% ppic, 
    [InAttribute] [OutAttribute] array<OLECRINFO>^ pcrinfo, 
    [InAttribute] unsigned int dwReserved
)
abstract FGetActiveComponent : 
        dwgac:uint32 * 
        ppic:IOleComponent byref * 
        pcrinfo:OLECRINFO[] byref * 
        dwReserved:uint32 -> int 
function FGetActiveComponent(
    dwgac : uint, 
    ppic : IOleComponent, 
    pcrinfo : OLECRINFO[], 
    dwReserved : uint
) : int
Parameters
- dwgac
 Type: System.UInt32
- ppic
 Type: Microsoft.VisualStudio.OLE.Interop.IOleComponent%
- pcrinfo
 Type: array<Microsoft.VisualStudio.OLE.Interop.OLECRINFO[]
- dwReserved
 Type: System.UInt32
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.