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

Retrieves the card's identifier, a number from 1 to 52.

Syntax:

HRESULT get_ID(
   long *p
);

Parameters:

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

Return Value:

Returns S_OK if successful, or an error value otherwise.

Remarks:

The ID is equal to (((Suit - 1) * 13) + Rank).

  February 24, 2002 jmhoersc@mtu.edu