News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

h2inc+

Started by Biterider, March 29, 2024, 10:45:35 PM

Previous topic - Next topic

zedd151

Thanks.  :thumbsup: I will take a look at the program later today.  :biggrin:
"We are living in interesting times"   :tongue:

Biterider

#61
Hi
This is my first attempt to document the application.
I reused some parts of previous docs and added the new features.

Biterider

sinsi

#62
Hi Biterider, I was wondering if it was possible (for 64-bit) to have either the parameter count for an API call or, preferably, some sort of list of parameter sizes, like
apicall_params = 2
or
apicall_params TEXTEQU <QWORD,DWORD>
That would help with a custom INVOKE macro (mine, anyway).

Cheers,
sinsi

Biterider

Hi sinsi
I think so. I'll look into it.

Biterider

sinsi


Biterider

Hi sinsi
If you are looking for a list of procedure arguments, the arguments for the @DefProto macro contains it (5th argument in angle brackets).
E.g: 
@DefProto DllImport, ImageList_Create, WIN_STD_CALL_CONV,, <:SDWORD, :SDWORD, :UINT, :SDWORD, :SDWORD>, 20
The @DefProto macro is defined in WinAsm.inc and can be changed to create new symbols as needed.

Regards, Biterider

sinsi

Cool, where do I find @DefProto?

Biterider

Hi sinsi
Quote from: sinsi on July 14, 2024, 05:40:58 PMCool, where do I find @DefProto?
QuoteThe @DefProto macro is defined in WinAsm.inc 
WinAsm.inc is part of this download https://masm32.com/board/index.php?topic=12029.0
You can download it from the attachement too.

Biterider