Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
ISolpackGameLib::GetGame Method

Creates and returns an instance of the specified game object.

Syntax:

HRESULT GetGame(
   long lIndex,
   ISolpackGame **ppGame
);

Parameters:

lIndex
Long integer value specifying the zero-based index of the game to create.
ppGame
Address of a pointer to the ISolpackGame interface of the game.

Return Value:

Returns S_OK if successful, E_INVALIDARG if lIndex specifies an invalid index, or another error value otherwise.

  February 24, 2002 jmhoersc@mtu.edu