HANDLE pipe = CreateFile( L"\\\\.\\pipe\\my_pipe",
GENERIC_READ, // only need read access
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL,
NULL );
I’m new to win api and i’d like to know where is the “my_pipe” file created on the hard disk?
I can’t find it anywhere near the binary or sources
Windows doesn’t follow the UNIX philosophy “everything is a file”, so the named objects you create with the kernel APIs aren’t files, but are objects in various NT objects namespaces. You can see them with tools like WinObj.
You may want to have a look at the article about the object manager in Windows.