NcDetectQueryMask returns a buffer of Unicode strings, each of which is delimited by a Unicode NUL and is specified as (NUL), a zero-length string. The end of the buffer is indicated by an additional NUL. The function prototype is:
LONG NcDetectQueryMask(
LONG lNetcardId,
WCHAR *pwchBuffer,
LONG cwchBuffSize
);
The Unicode strings are grouped into sets of three. In order of arrangement, group elements are as follows:
For example, using the string (nul) to represent a binary zero character would appear as follows:
IRQ(nul)1(nul)70(nul)
IOADDR(nul)0(nul)0(nul)
MEMADDR(nul)0(nul)0(nul)
MEMADDRLENGTH(nul)2(nul)100(nul)
(nul)
This buffer defines four parameter names: IRQ, IOADDR, MEMADDR, and MEMADDRLENGTH. Pointers to these strings are used as parameters of other functions.