次の方法で共有


ShellProc (Compact 2013)

3/26/2014

This function allows for communication between Tux and the test module. Messages are passed to the ShellProc function to notify or query the test module. All Tux DLL test modules must implement and export a ShellProc function.

Syntax

SHELLPROCAPI ShellProc(
  UINT uMsg,
  SPPARAM spParam
)

Parameters

  • spParam
    Dependent on the uMsg parameter; usually a pointer to a structure for that message type.

Return Values

Returns SPR_NOT_HANDLED for all messages that are not handled.

Remarks

Every Tux module must at least handle the SPR_REGISTER message; all other messages are optional. See Tuxdemo.cpp for a sample ShellProc implementation.

Requirements

Header

tux.h

Library

coredll.lib

See Also

Reference

Tux Functions