#include <ShellCommandHelp.h>
Definition at line 12 of file ShellCommandHelp.h.
◆ CShellCommandHelp()
◆ ~CShellCommandHelp()
CShellCommandHelp::~CShellCommandHelp |
( |
| ) |
|
|
virtual |
◆ Execute()
Implements CShellCommand.
Definition at line 50 of file ShellCommandHelp.cpp.
51{
55 {
58 {
61 }
62
63 return 0;
64 }
65
67 {
68 HRSRC hrcGPL;
70 char *pchGPL;
76 {
77
78 char pchSaved[2];
79 pchSaved[0] = pchGPL[
dwSize-1];
80 pchSaved[1] = 0;
81
82
84
85
87 if ((!
isprint(pchGPL[
i]))&&(pchGPL[
i] !=
'\r')&&(pchGPL[
i] !=
'\n')&&(pchGPL[
i] !=
'\t'))
89
90 rConsole.
Write(pchGPL);
91 rConsole.
Write(pchSaved);
92 }
93 else
94 {
95 rConsole.
Write(
_T(
"Internal error cannot load GPL.\n"));
96 }
97 return 0;
98 }
99
100 while (pchArg)
101 {
104 pCommand = this;
105
106 if (pCommand)
107 {
109 }
110 else
111 {
112 rConsole.
Write(
_T(
"HELP: Unknown command \""));
113 rConsole.
Write(pchArg);
115 }
116
118 }
119 return 0;
120}
TCHAR * GetNextArgument()
BOOL Write(const TCHAR *p, DWORD dwChars=0)
virtual const TCHAR * GetHelpShortDescriptionString()=0
virtual const TCHAR * GetHelpString()=0
POSITION GetFirstCommandPosition()
CShellCommand * Match(const TCHAR *pchCommand)
CShellCommand * GetNextCommand(POSITION &rPos)
DWORD WINAPI SizeofResource(HINSTANCE hModule, HRSRC hRsrc)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
◆ GetHelpShortDescriptionString()
const TCHAR * CShellCommandHelp::GetHelpShortDescriptionString |
( |
| ) |
|
|
virtual |
◆ GetHelpString()
const TCHAR * CShellCommandHelp::GetHelpString |
( |
| ) |
|
|
virtual |
Implements CShellCommand.
Definition at line 122 of file ShellCommandHelp.cpp.
123{
129}
static WCHAR available[MAX_STRING_RESOURCE_LEN]
GLsizei const GLubyte * commands
GLsizei GLenum const GLvoid * lists
◆ Match()
◆ m_rCommandsLinkedList
The documentation for this class was generated from the following files: