- 博客(9)
- 收藏
- 关注
转载 C# [Win32] [API] Layered Windows
1 static void* WndProc(void* hwnd, uint uMsg, void* wParam, void* lParam) 2 { 3 switch (uMsg) 4 { 5 case WM_PAINT: 6 ...
2019-04-06 00:08:00
207
转载 C# [GDI+] [API] Get Image bytes Length
1 MemoryBMP "{b96b3caa-0728-11d3-9d7b-0000f81ef32e}" 2 Bmp "{b96b3cab-0728-11d3-9d7b-0000f81ef32e}" 3 Emf "{b96b3cac-0728-11d3-9d7b-0000f81ef32e}" ...
2019-03-23 23:19:00
357
转载 C# [Win32] [GDI+] [API] Load HFONT from Memory
1 // gdiplusenums.h 2 3 //-------------------------------------------------------------------------- 4 // FontStyle: face types and common styles 5 //-----------...
2018-08-30 20:01:00
269
转载 C# [Win32] [API] WS_TABSTOP 無效的解決辦法
關鍵:IsDialogMessage function MSG msg; int bRet = 1; while (bRet != 0) { if (Peek...
2018-08-27 23:32:00
334
转载 C# [Win32] ShowInTaskbar
1 using System; 2 using System.Runtime.InteropServices; 3 4 namespace x 5 { 6 unsafe class NativeWindow 7 { 8 /* 9 * Window field offsets ...
2018-05-26 16:09:00
746
转载 C# [API] 指定父層級目錄
1 lstrcatW(pszpath, "\\..\\..\\");2 DWORD dwlen = GetFullPathNameW(pszpath, 0u, null, null);3 void* pv = malloc((size_t)(uint)dwlen);4 GetFullPathNameW(pszpath, dwlen, ...
2018-05-26 16:08:00
71
转载 C# [Win32] [API] Vista Command Link Control with Windows Forms
using System;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices;using System.Drawing;using System.ComponentModel;namespace Vista.Controls{ public...
2016-09-19 13:49:00
119
转载 C# [WIN32] [API] Global Hook
NativeMethods.cs:using System;using System.Runtime.InteropServices;namespace GlobalHook{ internal static class NativeMethods { #region window message inter...
2016-02-05 13:31:00
343
转载 C# [LINQ] Linq Expression 获取多格式文件
using System;using System.IO;using System.Linq;using System.Linq.Expressions; internal static string[] EnumerateMultiExtensionFiles(string directory, string searchPattern,...
2015-12-23 22:55:00
148
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人