Init
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 D2000 KOM process 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. |
Related pages: