ISynchronizeContainer::AddSynchronize method
Adds a synchronization object to the container.
Syntax
HRESULT AddSynchronize(
[in] ISynchronize *pSync
);
Parameters
- pSync [in]
-
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
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_ISynchronizeContainer is defined as 00000033-0000-0000-C000-000000000046 |
See also
Show: