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.
Instructs an in-process server to create its registry entries for all classes supported in this server module.
Syntax
HRESULT DllRegisterServer();
Return value
This function can return the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following values.
| Return code | Description |
|---|---|
|
The registry entries were created successfully. |
|
The server was unable to complete the registration of all the type libraries used by its classes. |
|
The server was unable to complete the registration of all the object classes. |
Remarks
E_NOTIMPL is not a valid return code.
If this function fails, the state of the registry for all its classes is undefined.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | olectl.h |
| Library | Ole32.lib |
| DLL | Ole32.dll |