c++ - How to obtain a list of accesible named pipes on remote server? -


can somehow list named pipes on remote server client application?
on local computer use

hfindfile = findfirstfile("\\\\.\\pipe\\*",&fdfiledata); 

where hfindfile handle , fdfiledata win32_find_data struct. call findnextfile() repeatedly , when returns 0 close findclose(). works perfect on local machine, when try call

hfindfile = findfirstfile("\\\\servername\\pipe\\*",&fdfiledata); 

it resulted error_invalid_function. advise me need connect remote server wnetuseconnection(), me it's not clear object have connect to.

if other machine windows, sufficient map drive using wnetuseconnection() , gain credentials require connect other resources (i.e. named pipes).

http://support.microsoft.com/kb/256847


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

asp.net mvc 3 - Unexpected "foreach" keyword after "@" character -