Declaration
unsigned int _stdcall Init(struct InitParams * InPar)
Parameters
InPar Pointer to InitParams structure.

Description
The function Init (_Init@4 in the Stdcall call convention) is required and called by the process D2000 KOM as the first function of protocol DLL. Using a InitParams structure, the function Init transfers the addresses of call-back functions and current version of interface definition.
Return code
Code Description
InitOK The initialization has been executed.
InitBadVer Incorrect version of interface definition.
InitERR Other error.

Napíšte komentár