debuggingdeclarations.cs
来自「usbio using microsoft visual c# example」· CS 代码 · 共 29 行
CS
29 行
using System;
using System.Runtime.InteropServices;
namespace HID_Test_Application
{
sealed class DebuggingDeclarations
{
// API declarations relating to Windows error messages.
// ******************************************************************************
// API constants
// ******************************************************************************
public const short FORMAT_MESSAGE_FROM_SYSTEM = 0x1000; // S;
// ******************************************************************************
// API functions, listed alphabetically
// ******************************************************************************
[DllImport("kernel32.dll", CharSet=CharSet.Auto)]
static public extern int FormatMessage (int dwFlags, ref long lpSource, int dwMessageId, int dwLanguageZId, string lpBuffer, int nSize, int Arguments);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?