SafeNativeMethods.IELaunchURL Method
Launches a URL with Internet Explorer. Works with Internet Explorer’s protected mode.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Usage
'Usage
Dim url As String
Dim pProcInfo As PROCESS_INFORMATION
Dim lpInfo As IELAUNCHURLINFO
Dim returnValue As Boolean
returnValue = SafeNativeMethods.IELaunchURL(url, pProcInfo, lpInfo)
Syntax
'Declaration
Public Shared Function IELaunchURL ( _
url As String, _
ByRef pProcInfo As PROCESS_INFORMATION, _
ByRef lpInfo As IELAUNCHURLINFO _
) As Boolean
public static bool IELaunchURL (
string url,
ref PROCESS_INFORMATION pProcInfo,
ref IELAUNCHURLINFO lpInfo
)
public:
static bool IELaunchURL (
String^ url,
PROCESS_INFORMATION% pProcInfo,
IELAUNCHURLINFO% lpInfo
)
public static boolean IELaunchURL (
String url,
/** @ref */ PROCESS_INFORMATION pProcInfo,
/** @ref */ IELAUNCHURLINFO lpInfo
)
Parameters
- url
Specifies the URL to navigate to.
- pProcInfo
Specifies the process information structue by reference that will contain the opened process ID.
- lpInfo
Specifies the launch information structure.
Return Value
Type: BooleanTrue if the native call was successful, otherwise false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
SafeNativeMethods Class
SafeNativeMethods Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.