You are reading help file online using chmlib.com
|
ISpResourceManager::SetObject adds a COM object to the current service list. If an object is already set for the specified service, the ISpResourceManager::SetObject method will replace the current object with the new one. If pUnkObject is NULL, the current service object is removed.
HRESULT SetObject(
REFGUID guidServiceId,
IUnknown *pUnkObject
);
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | pUnkObject is bad or invalid. |
E_OUTOFMEMORY | Exceeded available memory. |
FAILED(hr) | Appropriate error message. |
You are reading help file online using chmlib.com
|