ReactOS 0.4.16-dev-122-g325d74c
TOOL Struct Reference

Public Member Functions

 TOOL (const _bstr_t &Command, const _bstr_t &DefParam, const _bstr_t &AdvParam)
 
 ~TOOL (void)
 
DWORD Run (BOOL bUseAdvParams)
 

Public Attributes

_bstr_t m_Command
 
_bstr_t m_DefParam
 
_bstr_t m_AdvParam
 

Detailed Description

Definition at line 20 of file toolspage.cpp.

Constructor & Destructor Documentation

◆ TOOL()

TOOL::TOOL ( const _bstr_t &  Command,
const _bstr_t &  DefParam,
const _bstr_t &  AdvParam 
)
inline

Definition at line 22 of file toolspage.cpp.

24 :
26 m_DefParam(DefParam),
27 m_AdvParam(AdvParam)
28 { }
Definition: shell.h:41
_bstr_t m_Command
Definition: toolspage.cpp:38
_bstr_t m_DefParam
Definition: toolspage.cpp:39
_bstr_t m_AdvParam
Definition: toolspage.cpp:40

◆ ~TOOL()

TOOL::~TOOL ( void  )
inline

Definition at line 30 of file toolspage.cpp.

31 { }

Member Function Documentation

◆ Run()

DWORD TOOL::Run ( BOOL  bUseAdvParams)
inline

Definition at line 33 of file toolspage.cpp.

34 {
35 return RunCommand(m_Command, bUseAdvParams ? m_AdvParam : m_DefParam, SW_SHOW);
36 }
DWORD RunCommand(IN LPCWSTR lpszCommand, IN LPCWSTR lpszParameters, IN INT nShowCmd)
Definition: utils.c:132
#define SW_SHOW
Definition: winuser.h:778

Member Data Documentation

◆ m_AdvParam

_bstr_t TOOL::m_AdvParam

Definition at line 40 of file toolspage.cpp.

Referenced by Run(), and Update_States().

◆ m_Command

_bstr_t TOOL::m_Command

Definition at line 38 of file toolspage.cpp.

Referenced by Run(), and Update_States().

◆ m_DefParam

_bstr_t TOOL::m_DefParam

Definition at line 39 of file toolspage.cpp.

Referenced by Run(), and Update_States().


The documentation for this struct was generated from the following file: