Esempio n. 1
0
 internal static extern HRESULT TaskDialog(
     IntPtr hwndParent,
     IntPtr hInstance,
     [MarshalAs(UnmanagedType.LPWStr)] string pszWindowtitle,
     [MarshalAs(UnmanagedType.LPWStr)] string pszMainInstruction,
     [MarshalAs(UnmanagedType.LPWStr)] string pszContent,
     NativeMethods.TASKDIALOG_COMMON_BUTTON_FLAGS dwCommonButtons,
     [MarshalAs(UnmanagedType.LPWStr)] string pszIcon,
     [In, Out] ref int pnButton);
Esempio n. 2
0
 internal static extern void TaskDialog(
     IntPtr hwndParent,
     IntPtr hInstance,
     string pszWindowtitle,
     string pszMainInstruction,
     string pszContent,
     NativeMethods.TASKDIALOG_COMMON_BUTTON_FLAGS dwCommonButtons,
     string pszIcon,
     [In, Out] ref int pnButton);