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

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -