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


CAtlServiceModuleT::Install

Installs and creates the service.

BOOL Install( ) throw( );

Возвращаемое значение

Returns TRUE on success, FALSE on failure.

Заметки

Installs the service into the Service Control Manager (SCM) database and then creates the service object. If the service could not be created, a message box is displayed and the method returns FALSE.

Требования

Header: atlbase.h

См. также

Основные понятия

CAtlServiceModuleT Class

CAtlServiceModuleT Members

CreateService

CAtlServiceModuleT::Uninstall