CommonMessagePump.IOleComponent.FReserved1 Method
Reserved.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.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: 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 when the component manager wishes to know if the component is in a
state in which it can terminate. If fPromptUser is FALSE, component
should simply return TRUE if it can terminate, FALSE otherwise.
If fPromptUser is TRUE, component should return TRUE if it can
terminate without prompting the user; otherwise it should prompt the
user, either 1.) asking user if it can terminate and returning TRUE
or FALSE appropriately, or 2.) giving an indication as to why it
cannot terminate and returning 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.