nxLibFinalize

Navigation:  NxLib API > C Interface > Other > NxLib >

nxLibFinalize

Previous pageReturn to chapter overviewNext page

Explicitly closes the library, terminating all internal threads and freeing allocated memory. It is important to explicitly call nxLibFinalize before unloading the NxLib library when your process is not terminating afterwards, because Windows doesn't allow to cleanly exit threads during DLL unload.

Signatures

Variants throwing exceptions on errors:

static void nxLibFinalize()

Variants returning error codes in an int* parameter:

void nxLibFinalize(NXLIBERR* result)

Parameters

result

The error code of the operation.

Return Value

none