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.
STDAPI DllRegisterServer(void);
This function supports the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following:
E_NOTIMPL is not a valid return code.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in olectl.h.
Import Library: User-defined.