Export (0) Print
Expand All
COM
Expand Minimize

DllRegisterServer entry point

Instructs an in-process server to create its registry entries for all classes supported in this server module.

Syntax


HRESULT __stdcall DllRegisterServer(void);

Parameters

This entry point has no parameters.

Return value

This function can return the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following values.

Return codeDescription
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.

If this function fails, the state of the registry for all its classes is undefined.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Olectl.h

See also

DllUnregisterServer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft