Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
ISolpackGame::Uninitialize Method

Releases all created objects and prepares for destruction.

Syntax:

HRESULT Uninitialize();

Return Value:

Returns S_OK if successful, or an error value otherwise.

Remarks:

Solpack calls this method when the game is about to be destroyed. All decks, piles, and GameData objects that were created must be released. Also, the cached ISolpackApp interface of the engine must be released.

Any other cleanup work must be done during this method. Any attempts to create objects or manipulate cards or piles will fail.

  February 24, 2002 jmhoersc@mtu.edu