Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Loads a dialog box template.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function LoadDialog ( _
hMod As UInteger, _
dwDlgResId As UInteger, _
<OutAttribute> ByRef ppDlgTemplate As IntPtr _
) As Integer
'Usage
Dim instance As IUIHostLocale2
Dim hMod As UInteger
Dim dwDlgResId As UInteger
Dim ppDlgTemplate As IntPtr
Dim returnValue As Integer
returnValue = instance.LoadDialog(hMod, _
dwDlgResId, ppDlgTemplate)
int LoadDialog(
uint hMod,
uint dwDlgResId,
out IntPtr ppDlgTemplate
)
int LoadDialog(
[InAttribute] unsigned int hMod,
[InAttribute] unsigned int dwDlgResId,
[OutAttribute] IntPtr% ppDlgTemplate
)
abstract LoadDialog :
hMod:uint32 *
dwDlgResId:uint32 *
ppDlgTemplate:IntPtr byref -> int
function LoadDialog(
hMod : uint,
dwDlgResId : uint,
ppDlgTemplate : IntPtr
) : int
Parameters
- hMod
Type: System.UInt32
[in] Handle to the module that will create the dialog box.
- dwDlgResId
Type: System.UInt32
[in] Identifier of the dialog box template.
- ppDlgTemplate
Type: System.IntPtr%
[out] Pointer to the dialog box template to load.
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 uilocale.idl:
HRESULT IUIHostLocale2::LoadDialog(
[in] DWORD_PTR hMod,
[in] DWORD dwDlgResId,
[out] BYTE **ppDlgTemplate
);
Named dialogs are not supported.
.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.