Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
ISolpackApp::CreatePile Method

Creates and returns a pile of the specified type.

Syntax:

HRESULT CreatePile(
   long lType,
   ISolpackPile **ppPile
);

Parameters:

lType
Long integer value specifying the type of pile to create, taken from the SOLPACKPILETYPE enumeration.
ppPile
Address of a pointer to the ISolpackPile interface of the new pile.

Return Value:

Returns S_OK if successful, or an error value otherwise.

Remarks:

To create a deck of cards, call this method with the PILE_DECK value.

Once a pile has been created, its type cannot be changed.

  February 24, 2002 jmhoersc@mtu.edu