IVsAtomicTextProvider.DrawAtomGlyph Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
声明
Function DrawAtomGlyph ( _
dwFlags As UInteger, _
hdc As IntPtr, _
pRect As RECT() _
) As Integer
用法
Dim instance As IVsAtomicTextProvider
Dim dwFlags As UInteger
Dim hdc As IntPtr
Dim pRect As RECT()
Dim returnValue As Integer
returnValue = instance.DrawAtomGlyph(dwFlags, _
hdc, pRect)
int DrawAtomGlyph(
uint dwFlags,
IntPtr hdc,
RECT[] pRect
)
int DrawAtomGlyph(
[InAttribute] unsigned int dwFlags,
[InAttribute] IntPtr hdc,
[InAttribute] array<RECT>^ pRect
)
abstract DrawAtomGlyph :
dwFlags:uint32 *
hdc:IntPtr *
pRect:RECT[] -> int
function DrawAtomGlyph(
dwFlags : uint,
hdc : IntPtr,
pRect : RECT[]
) : int
Parameters
- dwFlags
Type: System.UInt32
[in] Unused
- hdc
Type: System.IntPtr
[in]
- pRect
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
[in]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr2.idl:
HRESULT IVsAtomicTextProvider::DrawAtomGlyph(
[in] DWORD dwFlags,
[in] HDC hdc,
[in] RECT *pRect
);
.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.