Returns the current project hierarchy, project item, and selection container for the current selection.
Function GetCurrentSelection ( _ <OutAttribute> ByRef ppHier As IntPtr, _ <OutAttribute> ByRef pitemid As UInteger, _ <OutAttribute> ByRef ppMIS As IVsMultiItemSelect, _ <OutAttribute> ByRef ppSC As IntPtr _ ) As Integer
int GetCurrentSelection( out IntPtr ppHier, out uint pitemid, out IVsMultiItemSelect ppMIS, out IntPtr ppSC )
int GetCurrentSelection( [OutAttribute] IntPtr% ppHier, [OutAttribute] unsigned int% pitemid, [OutAttribute] IVsMultiItemSelect^% ppMIS, [OutAttribute] IntPtr% ppSC )
abstract GetCurrentSelection : ppHier:IntPtr byref * pitemid:uint32 byref * ppMIS:IVsMultiItemSelect byref * ppSC:IntPtr byref -> int
function GetCurrentSelection( ppHier : IntPtr, pitemid : uint, ppMIS : IVsMultiItemSelect, ppSC : IntPtr ) : int
From vsshell.idl:
HRESULT IVsMonitorSelection::GetCurrentSelection( [out] IVsHierarchy **ppHier, [out] VSITEMID *pitemid, [out] IVsMultiItemSelect **ppMIS, [out] ISelectionContainer **ppSC );