Siliconetics Developer Center 
(609) 7607027
admin@srcsb.com
Untitled Document
SearchSearch:
ClassMethodIsUniqueCode


DESCRIPTION:
Test the existance of the given code.

ClassCLASS: CFBSocket

PROTOTYPE(S):
bool IsUniqueCode(CRecArray* pRec, LPCSTR pCode);


ARGUMENT(S):
CRecArray* pRecThe record to be test to avoid self record.
LPCSTR pCodeThe 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.
Untitled Document
SearchSearch: