// JP opened flex table

Click to See Complete Forum and Search --> : SaferGetLevelInformation Fails!!!!


Aabid
July 2nd, 2008, 09:50 AM
if(SaferGetLevelInformation(s, SaferObjectAllIdentificationGuids, lpQueryBuffer, dwInBufferSize, lpdwOutBufferSize) == TRUE)
{
SaferCloseLevel(s);
}
else
{
printf("Error Code::%d\n",GetLastError());
}


The Above function fails and returns an error code:: 122(i.e The data area passed to a system call is too small.)!!!
can anybody suggest me where i am wrong!!



Thankx!!!

Marc G
July 3rd, 2008, 09:02 AM
Probably your lpQueryBuffer is not large enough to hold the information you are requesting...

//JP added flex table