Partager via


IUIHostLocale2.MungeDialogFont Method

Indicates the dialog box template to use.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function MungeDialogFont ( _
    dwSize As UInteger, _
    pDlgTemplate As Byte(), _
    <OutAttribute> ByRef ppDlgTemplateOut As IntPtr _
) As Integer
int MungeDialogFont(
    uint dwSize,
    byte[] pDlgTemplate,
    out IntPtr ppDlgTemplateOut
)
int MungeDialogFont(
    [InAttribute] unsigned int dwSize, 
    [InAttribute] array<unsigned char>^ pDlgTemplate, 
    [OutAttribute] IntPtr% ppDlgTemplateOut
)
abstract MungeDialogFont : 
        dwSize:uint32 * 
        pDlgTemplate:byte[] * 
        ppDlgTemplateOut:IntPtr byref -> int
function MungeDialogFont(
    dwSize : uint, 
    pDlgTemplate : byte[], 
    ppDlgTemplateOut : IntPtr
) : int

Parameters

  • dwSize
    Type: UInt32

    [in] Dialog box font size.

  • pDlgTemplate
    Type: array<Byte[]

    [in, size_is(dwSize)] Font size passed in with dwSize.

  • ppDlgTemplateOut
    Type: IntPtr%

    [out] Pointer to the processed dialog box template.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From uilocale.idl:

HRESULT IUIHostLocale2::MungeDialogFont(
   [in] DWORD dwSize,
   [in, size_is(dwSize)] const BYTE *pDlgTemplate,
   [out] BYTE **ppDlgTemplateOut
);

.NET Framework Security

See Also

Reference

IUIHostLocale2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace