CommonMessagePump.IOleComponent.FReserved1 Method
Reserved.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
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
)
Parameters
- dwReserved
Type: System.UInt32
Reserved.
- message
Type: System.UInt32
Reserved.
- wParam
Type: System.IntPtr
Reserved.
- lParam
Type: System.IntPtr
Reserved.
Return Value
Type: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.