IVsHiddenTextClientEx::DrawBannerGlyph Method (IVsHiddenRegion^, UInt32, IntPtr, array<RECT>^)
Visual Studio 2015
Tells client to draw a glyph
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int DrawBannerGlyph( IVsHiddenRegion^ pHidReg, unsigned int dwFlags, IntPtr hdc, array<RECT>^ pRect )
Parameters
- pHidReg
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsHiddenRegion^
[in] The client’s region.
- dwFlags
-
Type:
System::UInt32
[in] Currently unused
- hdc
-
Type:
System::IntPtr
[in] Handle to the device context.
- pRect
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::RECT>^
[in] The rectangle containing the glyph.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr2.idl:
HRESULT IVsHiddenTextClientEx::DrawBannerGlyph( [in] IVsHiddenRegion *pHidReg, [in] DWORD dwFlags, [in] HDC hdc, [in] RECT *pRect );
Note |
|---|
IVsHiddenTextClientEx.DrawBanner is called only if hrbClientDrawn is specified in the region's flags |
Show:
