Поделиться через


DllRegisterServer

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.

STDAPI DllRegisterServer(void);

Parameters

None.

Return Values

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

OS Versions: Windows CE 2.0 and later.
Header: Olectl.h.
Link Library: Oleaut32.lib.

See Also

DllUnregisterServer

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.