IVsWindowPaneCommitFilter.IsCommitCommand(Guid, UInt32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示命令是否可以提交更改。
public:
int IsCommitCommand(Guid % pguidCmdGroup, System::UInt32 dwCmdID, [Runtime::InteropServices::Out] int % pfCommitCommand);
public int IsCommitCommand (ref Guid pguidCmdGroup, uint dwCmdID, out int pfCommitCommand);
abstract member IsCommitCommand : Guid * uint32 * int -> int
Public Function IsCommitCommand (ByRef pguidCmdGroup As Guid, dwCmdID As UInteger, ByRef pfCommitCommand As Integer) As Integer
参数
- pguidCmdGroup
- Guid
中用于标识命令的命令组。
- dwCmdID
- UInt32
中命令标识符。
- pfCommitCommand
- Int32
弄指示此命令是否为 commit 命令。 如果 true 为,则为 commit 命令。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell80:
HRESULT IVsWindowPaneCommitFilter::IsCommitCommand(
[in] REFGUID pguidCmdGroup,
[in] DWORD dwCmdID,
[out] BOOL *pfCommitCommand
);