2 basic functions, 1 function: bpbopen, 2 function: bpbclose – Lenze 3241C User Manual

Page 8: Basic functions 3.2.1, Function: bpbopen, Function: bpbclose, 3 api functions

Advertising
background image

3 API

functions

6

3.2

Basic functions
The basic functions serve to the connection establishment or connection termination:

3.2.1

Function: BpbOpen
Register to the hardware of the controller. The return value is a handle for

identification. This handle must be transferred as the first parameter for all further
functions.
Parameters

[in] LPTSTR

szAppName

Name of the application to be registered

[out] PHANDLE

hOpen

Pointer to open context (handle) for identification


Return values

S_OK Successful

E_LOADED

Incomplete (driver not loaded)

3.2.2

Function: BpbClose
Disconnection of the backplane bus connection to the 3241 controller.
Parameter

[in] HANDLE

hOpen

Pointer to open context (handle) for identification


Return values

S_OK Successful

E_HANDLE

Error during connection termination (handle is invalid)

Advertising