Share via


SPS_SHELL_INFO (Windows Embedded CE 6.0)

1/6/2010

This structure is pointed to by the ShellProc spParam parameter and is used to give Tux shell information to the Tux DLL.

Syntax

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 test 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 test module. This handle should be used to access resources that are specific to your test module, such as bitmaps or dialogs contained within your test 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 Windows Embedded CE 6.0 Test Kit (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

Header tux.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

ShellProc Structures