News:

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

Main Menu

ML64 Macros Protos to verify the number of arguments download

Started by TouEnMasm, May 06, 2021, 04:21:00 AM

Previous topic - Next topic

TouEnMasm

Hello,
You can find them here http://luce.yves.pagesperso-orange.fr/macroproto.zip
There is 16027 functions in 489 headers.
Advantage are:
* The number of args couldn't be wrong.
* The syntax is the same than C and translation from c to asm is more easy.
* The name of the headers are the same than the original (.inc) and Msdn can anwer at the question "Where it is ?".
In the document directory,you will find a file who give you the original prototypes and the lib of the funtion.
Functions have been extracted first from the sdk headers and then filtered with the libraries content.
You can be sure they are usable


Fa is a musical note to play with CL

TouEnMasm


I have been a little bit fast with  only Ansi fonctions.
It's corrected now,all work.
Fa is a musical note to play with CL

LiaoMi

Quote from: TouEnMasm on May 06, 2021, 04:21:00 AM
Hello,
You can find them here http://luce.yves.pagesperso-orange.fr/macroproto.zip
There is 16027 functions in 489 headers.
Advantage are:
* The number of args couldn't be wrong.
* The syntax is the same than C and translation from c to asm is more easy.
* The name of the headers are the same than the original (.inc) and Msdn can anwer at the question "Where it is ?".
In the document directory,you will find a file who give you the original prototypes and the lib of the funtion.
Functions have been extracted first from the sdk headers and then filtered with the libraries content.
You can be sure they are usable

Hi TouEnMasm,

can your parser generate instead,
IFDEF __UNICODE__
externdef __imp_GetEffectiveRightsFromAclW:PPROC
invoke __imp_GetEffectiveRightsFromAclW,pacl,pTrustee,pAccessRights
ELSE
externdef __imp_GetEffectiveRightsFromAclA :PPROC
invoke __imp_GetEffectiveRightsFromAclA,pacl,pTrustee,pAccessRights
ENDIF


such a format for the autocomplete function in notepad++ ??? (http://masm32.com/board/index.php?topic=9377.0)
GetEffectiveRightsFromAclW,pacl,pTrustee,pAccessRights
GetEffectiveRightsFromAclA,pacl,pTrustee,pAccessRights


To keep everything in one file, it seems to me that you wrote somewhere that you already did it.

TouEnMasm


I can do what I want with the list of protos who is given in the document directory.I can also increase the list to the inlines functions without too many problems.
I just need more informations on which form you want with perhaps some samples?.
Fa is a musical note to play with CL

LiaoMi

Quote from: TouEnMasm on May 20, 2021, 11:01:15 PM

I can do what I want with the list of protos who is given in the document directory.I can also increase the list to the inlines functions without too many problems.
I just need more informations on which form you want with perhaps some samples?.

Just in the form of a list of all api, it is quite enough:
GetEffectiveRightsFromAclW,pacl,pTrustee,pAccessRights
GetEffectiveRightsFromAclA,pacl,pTrustee,pAccessRights


TouEnMasm


To be sure not made errors.

_wcsxfrm_l PROTO cproto :XMASM ,:XMASM ,:DWORD ,:DWORD begin  _wcsxfrm_l,,,,
WSDCreateDeviceProxy PROTO pszDeviceId:XMASM ,pszLocalId:XMASM ,pContext:XMASM ,ppDeviceProxy:XMASM
    begin WSDCreateDeviceProxy,pszDeviceId,pszLocalId,pContext,ppDeviceProxy
unnamed argument can have a defaut name  or not,make a choice:   
sznoname    db "un",0,"deux",0,"trois",0,"quatre",0,"cinq",0,"six",0,"sept",0,"huit",0,"neuf",0,"dix",0,"onze",0,"douze",0,"treize",0,"quatorze",0,0
Fa is a musical note to play with CL

LiaoMi

Quote from: TouEnMasm on May 21, 2021, 03:06:09 AM

To be sure not made errors.

_wcsxfrm_l PROTO cproto :XMASM ,:XMASM ,:DWORD ,:DWORD begin  _wcsxfrm_l,,,,
WSDCreateDeviceProxy PROTO pszDeviceId:XMASM ,pszLocalId:XMASM ,pContext:XMASM ,ppDeviceProxy:XMASM
    begin WSDCreateDeviceProxy,pszDeviceId,pszLocalId,pContext,ppDeviceProxy
unnamed argument can have a defaut name  or not,make a choice:   
sznoname    db "un",0,"deux",0,"trois",0,"quatre",0,"cinq",0,"six",0,"sept",0,"huit",0,"neuf",0,"dix",0,"onze",0,"douze",0,"treize",0,"quatorze",0,0

Only the template below is required, the rest is unnecessary, thank you!
WSDCreateDeviceProxy PROTO pszDeviceId:XMASM ,pszLocalId:XMASM ,pContext:XMASM ,ppDeviceProxy:XMASM

Untitled prototypes can be left as they are in the original
WSDCreateDeviceProxy PROTO :XMASM ,:XMASM ,:XMASM ,:XMASM

TouEnMasm

Fa is a musical note to play with CL

LiaoMi