Implemented VirtualPrinterDriver project
This commit is contained in:
parent
f29c84821b
commit
5c87967c3f
125 changed files with 8191 additions and 0 deletions
14
Common/VirtualPrinter.Utils/Windows.cs
Normal file
14
Common/VirtualPrinter.Utils/Windows.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace VirtualPrinter.Utils
|
||||
{
|
||||
public class Windows
|
||||
{
|
||||
[NotNull]
|
||||
public static Exception LastError => new Win32Exception(Marshal.GetLastWin32Error());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue