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


CAtlServiceModuleT::WinMain

This method implements the code required to start the service.

int WinMain(
   int nShowCmd 
) throw( );

Параметры

  • nShowCmd
    Specifies how the window is to be shown. This parameter can be one of the values discussed in the WinMain section.

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

Returns the service's return value.

Заметки

This method processes the command line (with CAtlServiceModuleT::ParseCommandLine) and then starts the service (using CAtlServiceModuleT::Start).

Требования

Header: atlbase.h

См. также

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

CAtlServiceModuleT Class

CAtlServiceModuleT Members