ClosePseudoConsole function Null safety kernel32

void ClosePseudoConsole (
  1. int hPC
)

Closes a pseudoconsole from the given handle.

void WINAPI ClosePseudoConsole(
  _In_ HPCON hPC
);

Implementation

void ClosePseudoConsole(int hPC) {
  final _ClosePseudoConsole = _kernel32.lookupFunction<
      Void Function(IntPtr hPC), void Function(int hPC)>('ClosePseudoConsole');
  return _ClosePseudoConsole(hPC);
}