Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
ISolpackCard::Suit Property

Retrieves the suit of the card.

Syntax:

HRESULT get_Suit(
   long *p
);

Parameters:

p
Address of a long integer variable that receives the suit.

Return Value:

Returns S_OK if successful, or an error value otherwise.

Remarks:

Suit values are defined in the SOLPACKSUIT enumeration.

The suit is equal to (((ID - 1) / 13) + 1).

  February 24, 2002 jmhoersc@mtu.edu