Windows Dev Center

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 codeDescription
S_OK

The method completed successfully.

RPC_E_OUT_OF_RESOURCES

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

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_ISynchronizeContainer is defined as 00000033-0000-0000-C000-000000000046

See also

ISynchronize
ISynchronizeContainer

 

 

Community Additions

ADD
Show:
© 2015 Microsoft