mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
526 B
27 lines
526 B
|
|
|
|
class CW3ServerControl : public CObject
|
|
{
|
|
public:
|
|
CW3ServerControl();
|
|
|
|
#define STATE_TRY_AGAIN (-1)
|
|
|
|
int GetServerState();
|
|
BOOL SetServerState( DWORD dwControlCode );
|
|
|
|
BOOL StartServer( BOOL fOutputCommandLineInfo = FALSE );
|
|
BOOL StopServer( BOOL fOutputCommandLineInfo = FALSE );
|
|
BOOL PauseServer();
|
|
BOOL ContinueServer();
|
|
|
|
BOOL W95LaunchInetInfo();
|
|
|
|
// get the inetinfo path
|
|
static BOOL GetServerDirectory( CString &sz );
|
|
|
|
private:
|
|
|
|
BOOL m_fIsWinNT;
|
|
};
|
|
|