Skip to content

Direct stub

Yaroslav Kibysh edited this page Jul 6, 2019 · 1 revision

Meaning

Direct stub is defined in module exports file (wcecl/coredll/exports.def) and creates a full copy of Win32 function

Example

CreateWindowEx @1 will create a function in COREDLL exports, which will have the same properties as Win32 CreateWindowEx, but will have ordinal 1.

You can't debug such function in Visual Studio, so it's better to convert it in a normal stub.