c++ - Need Windows XP alternative to GetNamedPipeClientProcessId -


the code below working superbly, want generalize it, getnamedpipeclientprocessid compatible windows vista , above. what alternative options have support windows xp?

bret = getnamedpipeclientprocessid(hin, &clientid); if (false == bret) {         printf("\ngetnamedpipeclientprocessid failed\n");     closehandle(overlapped.hevent);     closehandle(hin);     return 1; } 

if handle protocol, when connection established send packet process id , read in other endpoint.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -