Windows NT ( 2)



         

SRVCTRL - 6


#define ID_SERVICE_INSTALL 40010

#define ID_SERVICE_REMOVE 40011

#define ID_SERVICE_START 40012

#define ID_SERVICE_STOP 40013

#define ID_SERVICE_GETCONFIGURATION 40014

// Next default values for new objects

//

#ifdef APSTUDIO_INVOKED

#ifndef APSTUDIO_READONLY_SYMBOLS

#define _APS_NEXT_RESOURCE_VALUE 105

#define _APS_NEXT_COMMAND_VALUE 40015

#define _APS_NEXT_CONTROL_VALUE 1006

#define _APS_NEXT_SYMED_VALUE 101

#endif

#endif

5.6.

5.6. service/srvctrl.rc

//Microsoft Developer Studio generated resource script.

//

#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS

//////////////////////////////////////////////////////////////

//

// Generated from the TEXTINCLUDE 2 resource.

//

#include "afxres.h"

//////////////////////////////////////////////////////////////

#undef APSTUDIO_READONLY_SYMBOLS

//////////////////////////////////////////////////////////////

// Russian resources

#if !defined(AFX_RESOURCE_DLL) defined(AFX_TARG_RUS)

#ifdef _WIN32

LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT

#pragma code_page(1251)

#endif //_WIN32

//////////////////////////////////////////////////////////////

//

// Menu

//

IDR_APPMENU MENU DISCARDABLE

BEGIN

POPUP "&File"

BEGIN

MENUITEM "E&xit", ID_FILE_EXIT

END

POPUP "&Service"

BEGIN

MENUITEM "&Install", ID_SERVICE_INSTALL

MENUITEM "&Remove", ID_SERVICE_REMOVE

MENUITEM SEPARATOR

MENUITEM "&Start", ID_SERVICE_START

MENUITEM "Sto&p", ID_SERVICE_STOP

MENUITEM SEPARATOR

MENUITEM "&Get configuration",

ID_SERVICE_GETCONFIGURATION