473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

getting function arguments of an API function

hello all,

A newbie here wondering if there is anyone out there who has some knowledge about assembly language, or translations of it.

I am trying to explore a mid-sized DLL from the system32 folder and I'd like to see the functions that are in there, and how they could be used. I have downloaded a simple DLL viewer that shows me function names found in DLLs, but what I can't seem to get are the details about the functions.

What I'm specifically looking for are the number of arguments and the data types that those arguments accept. I have tried a slew of technologies to try and find out but they've all failed me. I've tried:

*OllyDbg
*Windows SDK 'dumpbin'
*IDA Pro
*Google
*Forums

I even tried searching to see whether there was an 'assembly to C' translater available, but it's almost impossible to find. The ones I did see I was not impressed with, as far as giving me what I'm looking for.

I guess my general question to you gurus here is: How did the popular API functions that are used in VBA nowadays get documented? Someone obviously had to find out the details of those functions' argument in order to publish the correct information. An example would be the "getUserNameA" function to get the login name of the computer user. The closest I've come to getting at this is the OllyDbg program, which you can use to call a DLL function. It also shows you what the arguments are, and how many of them are required. The bad thing about that though, is that there's not an option to export that list from the dialog window that shows you the args and list of functions.

Is there anyone out there that would have some advice for me? Right now, my skill level is at the point where I can read linear instructions from a piped DOS output and understand the hex numbers on each line, but I don't think that's even relevant to the information I want to get at.

Thanks for any assistance guys!
Nov 8 '10 #1
0 1384

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: EsC | last post by:
Hy! is it possible to pass function-arguments by reference? (for example in PHP you can use the "&" operator ... ) thx iolo
3
by: Joe Laughlin | last post by:
I want to do something like the following def foo(list_of_args): call_other_function(arg1, arg2, arg3) # Where arg1 == "x", arg2 == "y", etc. # Should work with any list size foo() Make...
25
by: Steven Bethard | last post by:
So I end up writing code like this a fair bit: map = {} for key, value in sequence: map.setdefault(key, ).append(value) This code basically constructs a one-to-many mapping -- each value that...
8
by: Mark English | last post by:
I'd like to write a Tkinter app which, given a class, pops up a window(s) with fields for each "attribute" of that class. The user could enter values for the attributes and on closing the window...
0
by: Frans Englich | last post by:
Hello, I've stumbled over a behavior related to default function arguments which appears to be a bug, from what I can tell. See this snippet: >>> from kdecore import KURL >>> u = KURL(...
2
by: xideum | last post by:
Hi. Question: In a function that takes multiple arguments, each with a default value setis there anyway to either alter the order of the parameters you pass to it or skip the passing of certain...
21
by: dragoncoder | last post by:
Consider the following code. #include <stdio.h> int main() { int i =1; printf("%d ,%d ,%d\n",i,++i,i++); return 0; }
3
by: HopfZ | last post by:
How can I create a function nF such that for example var sum = nF('a','b','return a+b'); and var sum = new Function('a','b','return a+b'); do the same? function nF(){ return new...
2
by: svlsr2000 | last post by:
Why are function arguements pushed into stack and not heap or any registers. I know there may be a function which takes much more arguments then available registers:( Why can;t we use heap or some...
3
by: lancer6238 | last post by:
Hi, I was looking at an open-source program and saw a function header defined as: int Function(int value1, int value2, (int *A)(void *A1, int *A2, void *A3), void *A3) and the function is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.