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.
|