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.
Adds an object to the list of pooled objects.
Syntax
HRESULT PutResource(
[in] IObjPool *pPool,
[in] IUnknown *pUnk
);
Parameters
[in] pPool
The key to each object in the transaction resource pool. It determines the type of pooled object to add to the list.
[in] pUnk
A reference to the IUnknown of the pooled object.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP1 [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | comsvcs.h |