SPS_SHELL_INFO
This structure is pointed to by the ShellProcspParam parameter and is used to give Tux shell information to the Tux DLL.
typedef struct _SPS_SHELL_INFO {
HINSTANCE hInstance;
HWND hWnd;
HINSTANCE hLib;
HANDLE hevmTerminate;
BOOL fUsingServer;
LPCTSTR szDllCmdLine;
} SPS_SHELL_INFO, *LPSPS_SHELL_INFO;
Members
- hInstance
The main process instance handle of Tux Client. This handle can be used in function calls that require an HINSTANCE handle for your process. Do not use this handle to access resources that are specific to your module. - hWnd
The handle of Tux Client's main window. This parameter is always set to NULL because Tux Client is a console application and has no main window. - hLib
The instance handle of the DLL module. This handle can be used in function calls that require an HINSTANCE handle for your module. This handle should be used to access resources that are specific to your module, such as bitmaps or dialogs contained within your module. - hevmTerminate
A manually named event that can be remotely set to cause Tux Client to terminate gracefully. Users who use this functionality in Tux Client may want to periodically check this event during long test cases. If this global event has been set on the current machine, Tux Client will wait for any currently running test to complete, then exit. - fUsingServer
This flag is set if Tux client is connected to the CETK server. - szDllCmdLine
A pointer to a command-line string for the Tux DLL. When loading the Tux DLL, the user passes this string. The string pointed to by this member is persistent in memory for the entire time that the Tux DLL is loaded in memory. This string is interpreted as UNICODE if the Tux DLL reports a UNICODE string during the processing of the SPM_LOAD_DLL message; otherwise, the string is interpreted as ANSI.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Tux.h.
See Also
Tux Architecture | SPM_SHELL_INFO
Last updated on Friday, October 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.