// Token: 0x060002FF RID: 767 RVA: 0x0000D4FC File Offset: 0x0000B6FC internal static int ClusterRegCloseBatch([In] IntPtr hBatch, [MarshalAs(UnmanagedType.Bool)][In] bool bCommit, [Optional] out int failedCommandNumber) { int failedCommandNumberTmp = 0; int retCode = ClusApiHook.CallBackDriver(ClusApiHooks.ClusterRegCloseBatch, string.Format("hBatch = {0} bCommit = {1}", hBatch, bCommit), delegate { retCode = ClusapiMethods.ClusterRegCloseBatchInternal(hBatch, bCommit, out failedCommandNumberTmp); return(retCode); }); failedCommandNumber = failedCommandNumberTmp; return(retCode); }