void HwmpReactiveRegressionTest::DoRun () { RngSeedManager::SetSeed (12345); RngSeedManager::SetRun (7); CreateNodes (); CreateDevices (); InstallApplications (); Simulator::Stop (m_time); Simulator::Run (); Simulator::Destroy (); CheckResults (); delete m_nodes, m_nodes = 0; }
void CDirectInput::Init(CWinInput* pcWinInput) { HRESULT hRet; mpcWinInput = pcWinInput; hRet = DirectInput8Create(GetModuleHandle(NULL), DIRECTINPUT_VERSION, IID_IDirectInput8, (VOID**)&mpDInput, NULL); if (FAILED(hRet)) { return; } masDIJoystickDetail.Init(1); ResetDetails(); CreateDevices(); DumpDetaills(); }
void InputLayer::Setup() { CreateDevices(); }