code_junkie

Calling NT function on pre-NT system

Nov 12th, 2011
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. typedef BOOL (WINAPI* UpdateLayeredWinFunc) (HWND, HDC, POINT*, SIZE*, HDC, POINT*, COLORREF, BLENDFUNCTION*, DWORD);
  2.  
  3. UpdateLayeredWinFunc updateLayeredWindow = 0;
  4. HMODULE user32Mod = GetModuleHandle (_T("user32.dll"));
  5. updateLayeredWindow = (UpdateLayeredWinFunc) GetProcAddress (user32Mod, "UpdateLayeredWindow");
Add Comment
Please, Sign In to add comment