IUIHostLocale2::LoadDialog Method (UInt32, UInt32, IntPtr)
Visual Studio 2015
Loads a dialog box template.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int LoadDialog( unsigned int hMod, unsigned int dwDlgResId, [OutAttribute] IntPtr% ppDlgTemplate )
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::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From uilocale.idl:
HRESULT IUIHostLocale2::LoadDialog( [in] DWORD_PTR hMod, [in] DWORD dwDlgResId, [out] BYTE **ppDlgTemplate );
Named dialogs are not supported.
Show: