flat assembler
Message board for the users of flat assembler.

Index > Heap > Win stars: Which two APIs are cdecl?

Author
Thread Post new topic Reply to topic
Yardman



Joined: 12 Apr 2005
Posts: 245
Location: US
Yardman
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 02:51; edited 1 time in total
Post 24 Dec 2007, 19:32
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17352
Location: In your JS exploiting you and your system
revolution
Yardman: You are right, I had thought there was another (ignoring the A & W variants). I give you two stars:

**
Post 24 Dec 2007, 19:44
View user's profile Send private message Visit poster's website Reply with quote
Yardman



Joined: 12 Apr 2005
Posts: 245
Location: US
Yardman
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 02:51; edited 1 time in total
Post 24 Dec 2007, 22:16
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17352
Location: In your JS exploiting you and your system
revolution
Yardman wrote:
I thought you had posed a "trick question" with
the A and W variations.
Damn, I should have made it look like a trick Q rather than confessing. I smart not person am Sad
Yardman wrote:
Does ShellMessageBox as defined in shell32.dll count?

Others?
Now your asking a trick question. Where does the API end and the 'extras' begin? A: Damned if I know, but just so we can both look smart let's say that shell.dll is not in the API, okay. Just between you and me you understand, don't tell anyone else.
Yardman wrote:
(And also, are stars deducted if one cheats?)
Definitely. Why, did you cheat? You lose 10 stars for cheating you know. You lose 20 more stars for not confessing also.
Post 24 Dec 2007, 22:31
View user's profile Send private message Visit poster's website Reply with quote
Plue



Joined: 15 Dec 2005
Posts: 151
Plue
There's a truckload of cdecl functions in strsafe.lib if I'm not wrong.
Post 26 Dec 2007, 22:57
View user's profile Send private message Reply with quote
Yardman



Joined: 12 Apr 2005
Posts: 245
Location: US
Yardman
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 02:51; edited 1 time in total
Post 27 Dec 2007, 06:00
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17352
Location: In your JS exploiting you and your system
revolution
wnsprintf doesn't count, it is Win2k+ only. You were right the first time. I was hopelessly wrong and wnsprintf won't save me Embarassed, but thanks for trying.

And who said you gain 20 stars for confessing. Not me!

You move from initial [2 - 10 (for cheating) - 20 (for not confessing)] = -28 to [2 - 10 (for cheating)] = -8
Post 27 Dec 2007, 06:11
View user's profile Send private message Visit poster's website Reply with quote
Yardman



Joined: 12 Apr 2005
Posts: 245
Location: US
Yardman
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 02:52; edited 1 time in total
Post 27 Dec 2007, 07:13
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
"The API" is the entire set of DLLs that ship with windows and is documented in PlatformSDK/MSDN, so shell32 certainly does qualify.
Post 27 Dec 2007, 08:43
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17352
Location: In your JS exploiting you and your system
revolution
I just checked another source for that function. It mentioned that it was introduced only for IE5, and is only available when the user installed IE. So is it part of the core API's? It seems to have migrated into 2K because 2K came bundled with IE.
Post 27 Dec 2007, 08:57
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
revolution wrote:
I just checked another source for that function. It mentioned that it was introduced only for IE5, and is only available when the user installed IE. So is it part of the core API's? It seems to have migrated into 2K because 2K came bundled with IE.


That's a good question, and the lines are blurry. Afaik all of the common controls started with IE, so that isn't available until Win95 and NT something.something. When you look at PSDK for the (un- Razz) common control, you can see that some say "4.xx" required, then you can track down which version of internet explorer is required for that functionality.

But I still consider it core APIs, since it's exposed to 3rd-party apps, and most non-trivial apps make use of at least one common control.

_________________
Image - carpe noctem
Post 27 Dec 2007, 12:27
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.