IsUniqueCode
DESCRIPTION: Test the existance of the given code. |
CLASS: CFBSocket
PROTOTYPE(S):bool IsUniqueCode(CRecArray* pRec, LPCSTR pCode); |
ARGUMENT(S):CRecArray* pRec | The record to be test to avoid self record. | LPCSTR pCode | The code to be test. |
RETURN VALUE: This function returns true if the give code still unused or already owned by the given record. Otherwise it returns false.
EXAMPLE:
COMMENT: This function will show up a message box to tell the user if the given code is invalid or already used up. |
|