L
Lee Tow
Hello all:
I want to get the mac of my NIC,Look:
{
.......
NCB ncb;
struct ASTAT
{
ADAPTER_STATUS adapt;
NAME_BUFFER NameBuff[10];
} Adapter;
memset(&ncb,0,sizeof(NCB));
ncb.ncb_command=NCBASTAT;
ncb.ncb_lana_num=0;
ncb.ncb_buffer=(UCHAR *)&Adapter;
ncb.ncb_length=sizeof(ASTAT);
strcpy((char *) ncb.ncb_callname, "*");
.......
}
I want to why ncb.ncb_callname must be filled by "*"?
thanks.
I want to get the mac of my NIC,Look:
{
.......
NCB ncb;
struct ASTAT
{
ADAPTER_STATUS adapt;
NAME_BUFFER NameBuff[10];
} Adapter;
memset(&ncb,0,sizeof(NCB));
ncb.ncb_command=NCBASTAT;
ncb.ncb_lana_num=0;
ncb.ncb_buffer=(UCHAR *)&Adapter;
ncb.ncb_length=sizeof(ASTAT);
strcpy((char *) ncb.ncb_callname, "*");
.......
}
I want to why ncb.ncb_callname must be filled by "*"?
thanks.