//send NCBENUM command to the netcard to get the info of the netcard
//FOREXAMPLE:the number of netcards,the serie of each netcard
uRetCode = Netbios( &ncb );
if ( uRetCode == 0 )
{
memset(&ncb,0,sizeof(ncb) );
ncb.ncb_command=NCBRESET;
ncb.ncb_lana_num=lana_enum.lana[0]; // select the default MAC(the first one)
//send a NCBRESET command to the selected netcard to initialize it
uRetCode=Netbios( &ncb );
memset(&ncb,0,sizeof(ncb));
ncb.ncb_command=NCBASTAT;
ncb.ncb_lana_num=lana_enum.lana[0]; // select the default MAC(the first one)