I think I need to reword my earlier question. I have a C method that I am trying to call in C#. The signature for this method is WFQuerySessionInformationA(IN HANDLE hServer,
IN DWORD SessionId,
IN WF_INFO_CLASS WFInfoClass,
OUT LPSTR* ppBuffer,
OUT DWORD* pBytesReturned);