DelphiにおいてCOM/OLEプログラミングで使う。タイプライブラリとも関連してくる。
- 引数は右→左の順(レジスタは使わない)
- 呼ばれる(callee)側でスタッククリーンアップ
詳細は以下のEMBARCADERO, RAD Studio のWikiページを参照。
- Type Library (Delphi) - RAD Studio
- Procedures and Functions - RAD Studio
- How Delphi Adds Properties - RAD Studio
- Code Generated When You Import Type Library Information - RAD Studio
その他:
- x86 calling conventions - Wikipedia, the free encyclopedia
- What's safecall? - Stack Overflow
original url: https://www.glamenv-septzen.net/view/625