![]() |
DLL_ID | Language Extension |
dll.h |
Defines the DLL identification number.
The DLL_ID macro is used for defining the DLL indentification number. It must be followed by a 32-bit constant unsigned integer, which will be embedded in the DLL image as a part of the internal signature. For example:
DLL_ID 372331723Later, when a program wants to load the DLL, it passes the expected ID number as a parameter to the LoadDLL function. If the expected and embedded ID numbers are not the same, the DLL is simply ignored (skipped). As LoadDLL searches through all folders for a matching DLL, it is completely legal to have several DLLs with the same name (in different folders) which differ only in their ID numbers.