共用方式為


IVsAtomicTextProvider.DrawAtomGlyph(UInt32, IntPtr, RECT[]) Method

Definition

Draws the glyph.

public:
 int DrawAtomGlyph(System::UInt32 dwFlags, IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRect);
public int DrawAtomGlyph (uint dwFlags, IntPtr hdc, Microsoft.VisualStudio.OLE.Interop.RECT[] pRect);
abstract member DrawAtomGlyph : uint32 * nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Function DrawAtomGlyph (dwFlags As UInteger, hdc As IntPtr, pRect As RECT()) As Integer

Parameters

dwFlags
UInt32

[in] Unused.

hdc
IntPtr

nativeint

[in] Handle for current device context.

pRect
RECT[]

[in] Pointer to the RECT structure which contains the glyph.

Returns

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  
);  

Applies to