lInCount (LONG) - input

pbInData (PBYTE) - input

plOutCount (PLONG) - output