Click here to Skip to main content
11,802,762 members (73,132 online)
Click here to Skip to main content
Add your own
alternative version

Remote Processes and Machine control of Windows NT based systems (2000/XP)

, 1 Apr 2012 CPOL 129.1K 8.4K 103
Control certain aspects of machines sitting remotely, without having to install and trigger an application on the remote machine.

#include "MachineInfo.h"

class CMachineView;
class CRemoteAdminView;
class CRemoteAdminDoc;

namespace ProcessUpdate
	// Thread function that will keep updating the process list in the backgroud for
	// all conncte machines
	UINT __stdcall UpdateProcessListForAllMachines(void* pParam);

	void __stdcall ReceiveProcessFromRemoteMachine(HANDLE hProcessInfoPipe, CProcessInfoList& pilProcessInfo, CString strIP, UINT iProcessCount, UINT iCounter);
	UINT __stdcall ReceiveProcessCountFromRemoteMachine(HANDLE hProcessInfoPipe);
	void __stdcall TriggerRemoteServiceToPrepareForProcessInfoUpdate(HANDLE hProcessInfoPipe);
	void __stdcall DisconnectAndReconnectToRemoteService(CString strIP, CRemoteAdminDoc* pDoc, CMachineView* pMachineView, CRemoteAdminView* pRemoteAdminView);
	void __stdcall FreeProcessInfoList(CProcessInfoList& pilProcessInfo);

	// Gives time for an input/output operation to complete
	void __stdcall WaitFor_IO_OperationToComplete(UINT iTimeToComplete);

	// Gives some more extra time for an input/output operation to complete, in case
	// it doesn't get complete in "iTimeToComplete"
	void __stdcall WaitFor_IO_OperationToCompleteWithExtraTime(UINT iTimeToComplete, UINT iExtraTimeToComplete);


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Prateek Kaul
Web Developer
India India
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.151002.1 | Last Updated 1 Apr 2012
Article Copyright 2003 by Prateek Kaul
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid