This repository was archived by the owner on Mar 1, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
[DevTools] Header to Function converter
Yaroslav Kibysh edited this page Aug 12, 2019
·
2 revisions
This program converts header to a working function (normal stub).
- Start
HeaderToFunction.exe- Requires .NET Framework 4.0
- Insert any function definition to the source box:
HWND
WINAPI
CreateWindowExW(
DWORD dwExStyle,
LPCWSTR lpClassName,
LPCWSTR lpWindowName,
DWORD dwStyle,
int X,
int Y,
int nWidth,
int nHeight,
HWND hWndParent ,
HMENU hMenu,
HINSTANCE hInstance,
LPVOID lpParam);- Configure program and hit convert to get a result:
HWND WINAPI CreateWindowExW_WCECL(
DWORD dwExStyle,
LPCWSTR lpClassName,
LPCWSTR lpWindowName,
DWORD dwStyle,
int X,
int Y,
int nWidth,
int nHeight,
HWND hWndParent,
HMENU hMenu,
HINSTANCE hInstance,
LPVOID lpParam)
{
auto result = CreateWindowExW(
dwExStyle,
lpClassName,
lpWindowName,
dwStyle,
X,
Y,
nWidth,
nHeight,
hWndParent,
hMenu,
hInstance,
lpParam);
return result;
}```
- Use your brand new code in WCECL.