Partager via


CommonMessagePump.IOleComponent.FReserved1 Method

Reserved.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Private Function FReserved1 ( _
    dwReserved As UInteger, _
    message As UInteger, _
    wParam As IntPtr, _
    lParam As IntPtr _
) As Integer Implements IOleComponent.FReserved1
int IOleComponent.FReserved1(
    uint dwReserved,
    uint message,
    IntPtr wParam,
    IntPtr lParam
)
private:
virtual int FReserved1(
    unsigned int dwReserved, 
    unsigned int message, 
    IntPtr wParam, 
    IntPtr lParam
) sealed = IOleComponent::FReserved1
private abstract FReserved1 : 
        dwReserved:uint32 * 
        message:uint32 * 
        wParam:IntPtr * 
        lParam:IntPtr -> int  
private override FReserved1 : 
        dwReserved:uint32 * 
        message:uint32 * 
        wParam:IntPtr * 
        lParam:IntPtr -> int
JScript does not support explicit interface implementations.

Parameters

  • dwReserved
    Type: UInt32

    Reserved.

  • message
    Type: UInt32

    Reserved.

  • wParam
    Type: IntPtr

    Reserved.

  • lParam
    Type: IntPtr

    Reserved.

Return Value

Type: Int32
Always returns true.

Implements

IOleComponent.FReserved1(UInt32, UInt32, IntPtr, IntPtr)

Remarks

Called by the component manager to determine whether the component can terminate. If fPromptUser is FALSE, the component should return TRUE if it can terminate and FALSE if it can't. If fPromptUser is TRUE, the component should return TRUE if it can terminate without prompting the user. Otherwise, the component should either ask the user whether it can terminate and then return TRUE or FALSE appropriately, or it should indicate why it can't terminate and then return FALSE.

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace