Hi.
I try to use RtlStringCbVPrintfA funciton.
my code:
RtlStringCbVPrintfA(pszBUFF, nPathSize, "%s\\%s", szVolume, szFolder);
But the code is 'too many parameter'.
So I made next code:
void printfA(PCHAR szDest, int nDestSize, PCHAR Format, ...)
{
va_list va;
NTSTATUS status;
va_start(va, Format);
status = RtlStringCbVPrintfA(szDest, nDestSize, Format, va);
va_end(va);
}
But the code doesn't work also.
How do I use the function?