title Module::IncrementObjectCount Method | Microsoft Docs ms.custom ms.date 11/04/2016 ms.reviewer ms.suite ms.technology cpp-windows ms.tgt_pltfrm ms.topic reference f1_keywords module/Microsoft::WRL::Module::IncrementObjectCount dev_langs C++ helpviewer_keywords IncrementObjectCount method ms.assetid 268b79be-15c3-4b07-884e-18da2c7281f2 caps.latest.revision 5 author mikeblome ms.author mblome manager ghogen Module::IncrementObjectCount Method Increments the number of objects tracked by the module. Syntax virtual long IncrementObjectCount(); Return Value The count before the increment operation. Requirements Header: module.h Namespace: Microsoft::WRL See Also Module Class