![]() |
![]() |
![]() |
![]() |
Remove the PhAB context from a PhAB application that you're using as a DLL
int ApRemoveContext( ApContext_t *context );
Ap
This function removes a PhAB context from a PhAB application that you're using as a DLL. Call this function from the DLL's cleanup function.
![]() |
You must call ApRemoveContext() as many times as you successfully called ApAddContext(). After you've called ApRemoveContext(), your DLL must not call any PhAB functions. |
0 on success, or -1 on failure.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
ApAddContext(), ApRemoveClass()
“Making a DLL out of a PhAB application” in the Generating, Compiling, and Running Code chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |