Say I have this code:
BOOL
WINAPI
ActivateActCtx(
HANDLE hActCtx,
ULONG_PTR *lpCookie
);
DWORD
WINAPI
EnumerateLocalComputerNamesA(
COMPUTER_NAME_TYPE NameType,
ULONG ulFlags,
LPSTR lpDnsFQHostname,
LPDWORD nSize
);
And I need a C++ script to automatically turn thousands of those into something like this:
BOOL
WINAPI
ActivateActCtx(
HANDLE hActCtx,
ULONG_PTR *lpCookie
)
{
return PActivateActCtx(
hActCtx,
lpCookie
);
DWORD
WINAPI
EnumerateLocalComputerNamesA(
COMPUTER_NAME_TYPE NameType,
ULONG ulFlags,
LPSTR lpDnsFQHostname,
LPDWORD nSize
)
{
return GEnumerateLocalComputerNamesA(
NameType,
ulFlags,
lpDnsFQHostname,
nSize
);
}
Thanks you so much for your help!
-motherboardlove