Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
ISolpackGameData::Data Property

Sets or retrieves the contained data.

Syntax:

HRESULT get_Data(
   VARIANT *p
);

HRESULT put_Data(
   VARIANT v
);

Parameters:

p
Address of a VARIANT variable that receives the contained data.
v
A VARIANT value that specifies the new contained data.

Return Value:

Returns S_OK if successful, or an error value otherwise.

Remarks:

This property can contain a VARIANT value of any type. For instance, store the number of times the user has cycled through a stack; cache the card interface pointers at the top of piles; etc. As the user undoes and redoes moves, the GameData object contents will change to match the values at a particular point in the game.

  February 24, 2002 jmhoersc@mtu.edu