Miles Sound System SDK 7.2a

AIL_restore_stack

The function AIL_restore_stack returns to the default stack which was in use prior to the last call to AIL_switch_stack.

void AIL_restore_stack(
  U32 SS,
  void * ESP,
  void * EBP
);

In Parameters

SS
contains a variable of type U32 which was written by AIL_switch_stack.
ESP
contains a variable of type void * which was written by AIL_switch_stack.
EBP
contains a variable of type void * which was written by AIL_switch_stack.

Discussion

This is a DOS-only function.

Refer to AIL_switch_stack for details on switching stacks from within a C function.

This function is used internally by the MSS system. Most applications will not need to use AIL_switch_stack, unless large interrupt handlers with extensive stack usage are implemented in C, and/or preemptive multi-threaded timer services are enabled.


Group: Low-Level DOS Support Services
Related Functions: AIL_switch_stack
Related Basic Types: U32, void, void *

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.