ISynchronizeContainer::AddSynchronize method (objidl.h)
Adds a synchronization object to the container.
Syntax
HRESULT AddSynchronize(
[in] ISynchronize *pSync
);
Parameters
[in] pSync
A pointer to the synchronization object to be added to the container. See ISynchronize.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_FAIL, as well as the following values.
Return code | Description |
---|---|
|
The method completed successfully. |
|
The synchronization object container is full. |
Remarks
A synchronization container can hold pointers to as many as 63 synchronization objects.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | objidl.h (include ObjIdl.h) |