|
virtual void OnResult( |
|
UINT nClientId, |
|
|
LPCTSTR lpszCommand, |
|
|
LPCTSTR lpszResource, |
|
|
LPCTSTR lpszParameters, |
|
|
UINT nResultCode |
|
); |
A virtual method that is invoked after the server has processed a
command issued by the client.
Parameters
- nClientId
- An unsigned integer which uniquely identifies the client
session.
- lpszCommand
- A pointer to a string that specifies the command
issued by the client. The command name will always be capitalized.
For a complete list of commands supported by the server, see
Server Commands.
- lpszResource
- A pointer to a string that specifies the resource that the
client has requested. Depending on the command issued, it may be a
document, a folder or an executable script.
- lpszParameters
- A pointer to a string that specifies any query parameters that
have been provided by the client. The string will be empty if there
were no query parameters included with the request. The query
parameters in this string will be URL encoded.
- nResultCode
- A integer value that specifies the result code that was sent to
the client.
Return Value
None.
Remarks
The OnResult event handler is invoked after the server has
processed a command issued by the client. To implement
an event handler, the application should create a class derived from
the CHttpServer class, and then override this method.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools11.h
Import Library: cshtsv11.lib
Unicode: Implemented as Unicode and ANSI versions
See Also
GetCommandResult,
OnCommand
|
|