Share via


NativeMethods.SendMessageTimeout Method

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim hWnd As IntPtr
Dim Msg As UInteger
Dim wParam As UIntPtr
Dim lParam As IntPtr
Dim fuFlags As SendMessageTimeoutFlags
Dim uTimeout As UInteger
Dim lpdwResult As UIntPtr
Dim returnValue As IntPtr

returnValue = NativeMethods.SendMessageTimeout(hWnd, Msg, wParam, lParam, fuFlags, uTimeout, lpdwResult)

Syntax

'Declaration
Public Shared Function SendMessageTimeout ( _
    hWnd As IntPtr, _
    Msg As UInteger, _
    wParam As UIntPtr, _
    lParam As IntPtr, _
    fuFlags As SendMessageTimeoutFlags, _
    uTimeout As UInteger, _
    <OutAttribute> ByRef lpdwResult As UIntPtr _
) As IntPtr
public static IntPtr SendMessageTimeout (
    IntPtr hWnd,
    uint Msg,
    UIntPtr wParam,
    IntPtr lParam,
    SendMessageTimeoutFlags fuFlags,
    uint uTimeout,
    out UIntPtr lpdwResult
)
public:
static IntPtr SendMessageTimeout (
    IntPtr hWnd, 
    unsigned int Msg, 
    UIntPtr wParam, 
    IntPtr lParam, 
    SendMessageTimeoutFlags fuFlags, 
    unsigned int uTimeout, 
    [OutAttribute] UIntPtr% lpdwResult
)
public static IntPtr SendMessageTimeout (
    IntPtr hWnd, 
    UInt32 Msg, 
    UIntPtr wParam, 
    IntPtr lParam, 
    SendMessageTimeoutFlags fuFlags, 
    UInt32 uTimeout, 
    /** @attribute OutAttribute() */ /** @ref */ UIntPtr lpdwResult
)

Parameters

  • hWnd
  • Msg
  • wParam
  • lParam
  • fuFlags
  • uTimeout
  • lpdwResult

Return Value

Type:

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

NativeMethods Class
NativeMethods Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls Namespace

Unified Service Desk 2.0
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.