ISynchronizeContainer interface
Manages a group of unsignaled synchronization objects.
When to implement
You do not typically implement ISynchronizeContainer. This interface is implemented on a system-supplied synchronization object container (CLSID_SynchronizeContainer).
When to use
Clients call the methods of ISynchronizeContainer when they have several outstanding asynchronous calls at one time. A client can add the synchronization object associated with each call to a synchronization object container and then wait for any one of them to be signaled.
Members
The ISynchronizeContainer interface inherits from the IUnknown interface. ISynchronizeContainer also has these types of members:
Methods
The ISynchronizeContainer interface has these methods.
| Method | Description |
|---|---|
| AddSynchronize |
Adds a synchronization object to the container. |
| WaitMultiple |
Waits for any synchronization object in the container to be signaled or for a specified timeout period to elapse, whichever comes first. |
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