gchar name[256];
g_snprintf (name, sizeof (name),
- "\\\\.\\pipe\\gtest-io-overlap-%u", (guint) getpid ());
+ "\\\\.\\pipe\\gtest-io-overlap-%u", (guint) GetCurrentProcessId ());
server = CreateNamedPipe (name,
PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED,
gchar name[256], c;
g_snprintf (name, sizeof (name),
- "\\\\.\\pipe\\gtest-io-concurrent-%u", (guint) getpid ());
+ "\\\\.\\pipe\\gtest-io-concurrent-%u", (guint) GetCurrentProcessId ());
server = CreateNamedPipe (name,
PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED,
gchar name[256];
g_snprintf (name, sizeof (name),
- "\\\\.\\pipe\\gtest-io-cancel-%u", (guint) getpid ());
+ "\\\\.\\pipe\\gtest-io-cancel-%u", (guint) GetCurrentProcessId ());
in_handle = CreateNamedPipe (name,
PIPE_ACCESS_INBOUND | FILE_FLAG_OVERLAPPED,