DllRegisterServer
A version of this page is also available for
4/8/2010
This function instructs an in-process server to create its registry entries for all classes supported in this server module. If this function fails, the state of the registry for all its classes is indeterminate.
Syntax
STDAPI DllRegisterServer(void);
Parameters
None.
Return Value
This function supports the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following.
Value | Description |
---|---|
S_OK |
The registry entries were created successfully. |
SELFREG_E_TYPELIB |
The server was unable to complete the registration of all the type libraries used by its classes. |
SELFREG_E_CLASS |
The server was unable to complete the registration of all the object classes. |
Remarks
E_NOTIMPL is not a valid return code.
To determine whether the platform supports this function, see Determining Supported COM APIs.
Requirements
Header | Olectl.h |
Library | oleaut32.lib |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |