IVsWindowPaneCommitFilter::IsCommitCommand Method (Guid, UInt32, Int32)

 

Indicates whether a command can commit changes.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int IsCommitCommand(
	[InAttribute] Guid% pguidCmdGroup,
	unsigned int dwCmdID,
	[OutAttribute] int% pfCommitCommand
)

Parameters

pguidCmdGroup
Type: System::Guid

[in] The command group that identifies the command.

dwCmdID
Type: System::UInt32

[in] The command identifier.

pfCommitCommand
Type: System::Int32

[out] Indicates whether this is a commit command. If true, it is a commit command.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell80.idl:

HRESULT IVsWindowPaneCommitFilter::IsCommitCommand(
   [in] REFGUID pguidCmdGroup, 
   [in] DWORD dwCmdID, 
   [out] BOOL *pfCommitCommand
);
Return to top
Show: