Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Retrieves an object from the object pool.
The object returned is a COM object that can run under arbitrary threading models and contexts.
Syntax
HRESULT GetObject(
[in] REFIID riid,
[out] void **ppv
);
Parameters
[in] riid
A reference to the identifier of the object requested.
[out] ppv
The requested object.
Return value
This method can return the following values.
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
Object activation failed. |
|
Object activation failed due to time-out. |
|
The object pool was not initialized. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional with SP4, Windows XP with SP2 [desktop apps only] |
| Minimum supported server | Windows Server 2003 with SP1 [desktop apps only] |
| Target Platform | Windows |
| Header | comsvcs.h |