newntui/activex/msdevintegrator/src/msdevintegratorctl.cpp
//----------------------------------------------------------------------------------------
// Call this METHOD if you want to inform integrator that you are exiting
//----------------------------------------------------------------------------------------
Call this METHOD if you want to inform integrator that you are exiting
Call this METHOD if you want to inform integrator that you are exiting
void CMSDEVIntegratorCtrl::Exit()  {
unsigned char byte;
char* info = "";
	 m_IntegratorServerConnection.Send(signature,4);
     byte=EXIT_OPCODE;
	 m_IntegratorServerConnection.Send(&byte,1);
	 int len = strlen(info);
	 byte = len & 255;
	 m_IntegratorServerConnection.Send(&byte,1);
	 byte = (len>>8) & 255;
	 m_IntegratorServerConnection.Send(&byte,1);
	 byte = (len>>16) & 255;
	 m_IntegratorServerConnection.Send(&byte,1);
	 byte = (len>>24) & 255;
	 m_IntegratorServerConnection.Send(&byte,1);
	 m_IntegratorServerConnection.Send(info,len);
}
void CMSDEVIntegratorCtrl :: Exit ( ) { unsigned char byte ; char * info = " " ; m_IntegratorServerConnection . Send ( signature , 4 ) ; byte = EXIT_OPCODE ; m_IntegratorServerConnection . Send ( & byte , 1 ) ; int len = strlen ( info ) ; byte = len & 255 ; m_IntegratorServerConnection . Send ( & byte , 1 ) ; byte = ( len >> 8 ) & 255 ; m_IntegratorServerConnection . Send ( & byte , 1 ) ; byte = ( len >> 16 ) & 255 ; m_IntegratorServerConnection . Send ( & byte , 1 ) ; byte = ( len >> 24 ) & 255 ; m_IntegratorServerConnection . Send ( & byte , 1 ) ; m_IntegratorServerConnection . Send ( info , len ) ; }
Call this METHOD if you want to inform integrator that you are exiting
Call this METHOD if you want to inform integrator that you are exiting