Public Member Functions | |
PROUDSRV_API void | GetArgv_Internal (CFastArray< String > &output) |
PROUDSRV_API void | GetEnvp_Internal (CFastArray< String > &output) |
PROUDSRV_API void | GetArgvFromSCM_Internal (CFastArray< String > &output) |
PROUDSRV_API const PNTCHAR * | GetName () |
PROUDSRV_API bool | IsStartedBySCM () const |
PROUDSRV_API bool | FindArg (const PNTCHAR *name) |
PROUDSRV_API String | CreateArg () |
PROUDSRV_API BOOL | IsInstalled () |
PROUDSRV_API void | FrequentWarning (const PNTCHAR *text) |
PROUDSRV_API void | FrequentWarningWithCallStack (const PNTCHAR *text) |
Static Public Member Functions | |
static PROUDSRV_API void | WinMain (int argc, char *argv[], char *envp[], CNTServiceStartParameter ¶m) |
static PROUDSRV_API void | WinMain (int argc, wchar_t *argv[], wchar_t *envp[], CNTServiceStartParameter ¶m) |
static PROUDSRV_API void | GetArgv (CFastArray< String > &output) |
static PROUDSRV_API void | GetEnvp (CFastArray< String > &output) |
static PROUDSRV_API void | GetArgvFromSCM (CFastArray< String > &output) |
Static Public Member Functions inherited from Proud::DllSingleton< CNTService > | |
static CNTService & | GetUnsafeRef () |
static PtrType | GetSharedPtr () |
Additional Inherited Members | |
Public Types inherited from Proud::DllSingleton< CNTService > | |
typedef RefCount< CNTService > | PtrType |
Windows service (daemon) module class
General usage
Program execution parameter
PROUDSRV_API const PNTCHAR* Proud::CNTService::GetName | ( | ) |
Returns the name acquired from INTServiceEvent
PROUDSRV_API bool Proud::CNTService::IsStartedBySCM | ( | ) | const |
Is it run by SCM?
|
static |
This method must be called either by service mudule main function main() or ::WinMain(). Manages followings.
argc | value received from main() |
argv | value received from main() |
envp | value received from main() |
param | Setting Value of CNTService |
|
static |
Service module main function. Must be called either by ::WinMain()main() or ::WinMain(). Manages followings.
argc | value received from main() |
argv | value received from main() |
envp | value received from main() |
param | Setting Value of CNTService |