Standards for Windows DLL Exported Function Parameter and Return Values

  • Thread starter Thread starter Lim Bio Liong
  • Start date Start date
L

Lim Bio Liong

Guest
Hello All,


1. Windows DLLs that export functions can be implemented in various languages and by various compilers (of the same language).


2. As such, I think there are binary standards governing the low-level management of exported function parameters and return values.


3. E.g. :

3.1 How are structure return values actually returned to callers ?

3.2 Must structures be returned to callers only via "out" parameters ?

3.3 Are simple and small return values like char, int, BOOL, etc always returned in the EAX register ?


4. Does anyone know of any official documentation for such standards ?


5. Thanks all.

- Bio.


Please visit my blog : limbioliong

Continue reading...
 
Back
Top