Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Handle Inheritance

Featured Replies

Hi.

Reference to MSDN under the topic pipes/Anonymous Pipe/Pipe Handle Inheritance

The following are the steps mentioned for redirecting the standard output handle to the child process

1.Call the GetStdHandle function to get the current standard output handle

2.Call the SetStdHandle function to set the standard output handle to the write handle to the pipe.

3.Create the child process

4.Call the CloseHandle function to close the write handle to the pipe.

5.Call SetStdHandle to restore the original standard output handle

My Question is whether there will be any impact in the parent process when the restoring of the original handle is not done. Please reply back. its urgent.

Moreover, the GetStdHandle() API in the step (1) is returning INVALID_HANDLE_VALUE. When does this API returns INVALID_HANDLE_VALUE. When GetLastError is called it returns 6 (invalid handle). Is there any scenario or condition in which this API return INVALID_HANDLE_VALUE.

Thanks in advance

Edited by ootsoo


Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.