I want to convert the following snippet from IDA ASM to FASM ASM. I can do this with most of the procs I ran into so far, because they took no arguments, but this one takes a thingy (pointer I guess? C# has sort of spoiled me), a uint, another uint, and a long. Would I simply make this "proc Windows_Procedure hWnd Msg wParam lParam"? If I do, do I remove their initializations down there?
; int __stdcall Windows_Procedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
long Windows_Procedure(void *, unsigned int, unsigned int, long) proc near
; DATA XREF: Create_Main_Window(void *,int,int,int)+11o
hWnd = dword ptr 4
Msg = dword ptr 8
wParam = dword ptr 0Ch
lParam = dword ptr 10h
Also, in "abs_ proc near", does the near mean anything important? If so, does it have an equivalent in FASM? Do I have to say that a proc returns nothing or an int or a long in FASM, like IDA does? IDA is honestly not a very good ASM teacher, being designed mainly for people who need information, not valid code, but you know.
P.S. I apologize for not reading over the manual very carefully; I have to use the lame excuse of college, I'm afraid.