Share via


DllRegisterServer (Compact 2013)

3/26/2014

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

See Also

Reference

COM Functions
DllUnregisterServer