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