Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The constructor increments the module lock count.
CComObject(
void* = NULL
);
Parameters
- void*
[in] This unnamed parameter is not used. It exists for symmetry with other CComXXXObjectXXX constructors.
Remarks
The destructor decrements it.
If a CComObject-derived object is successfully constructed using the new operator, the initial reference count is 0. To set the reference count to the proper value (1), make a call to the AddRef function.
Requirements
Header: atlcom.h