Dll Import Functions (Native C++) - Siemens Simatic S7-1500 Function Manual

Hide thumbs Also See for Simatic S7-1500:
Table of Contents

Advertisement

User interfaces (API)
7.8 Data types
7.8.1

DLL import functions (Native C++)

7.8.1.1
ApiEntry_Initialize
Description
Type of the central entry point for the API library (DLL).
Table 7- 357 ApiEntry_Initialize - Native C++
Syntax
Parameters
Return values
7.8.1.2
ApiEntry_DestroyInterface
Description
Type of the entry point for DestroyInterface (Page 101).
Table 7- 358 ApiEntry_DestroyInterface - Native C++
Syntax
Parameters
Return values
280
typedef ERuntimeErrorCode(*ApiEntry_Initialize)(
ISimulationRuntimeManager** out_RuntimeManagerInterface
);
ISimulationRuntimeManager**
out_SimulationRuntimeManagerInterface:
Pointer to a Runtime Manager interface pointer. The pointer must be initial-
ized with NULL. The interface is created within the function.
UINT32 in_InterfaceVersion:
Version of the API interface to be downloaded:
API_DLL_INTERFACE_VERSION
Runtime error code
SREC_OK
SREC_WRONG_ARGUMENT
SREC_WRONG_VERSION
SREC_CONNECTION_ERROR
typedef ERuntimeErrorCode(*ApiEntry_DestroyInterface)(
IBaseInterface* in_Interface
);
IBaseInterface* in_Interface:
The interface to be deleted.
Runtime error code
SREC_OK
SREC_WRONG_ARGUMENT
.
Condition
The function is successful.
The pointer to the Runtime Manager
interface is NULL.
The version of the interface in use
does not match the version of the API
library (DLL).
Unable to establish a connection to the
Runtime Manager.
Condition
The function is successful.
The pointer to the interface is NULL.
Function Manual, 12/2017, A5E37039512-AB
S7-PLCSIM Advanced

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents