InstrSession.CloseFunctionEx
- Updated2025-07-21
- 1 minute(s) read
InstrSession.CloseFunctionEx
Syntax
InstrSession.CloseFunctionEx
Data Type
Purpose
Stores the address of a function the session calls when it closes. If the function address is zero, the session does not call the function. The prototype of the function is void __cdecl CloseFunction(IUnknown *session) , where *session is the session that is closing. Within the close function, you can access data items you added to the session.
Remarks
The type of the variant must match the pointer size for the current platform. For example, use VT_UI4 for 32-bit TestStand and VT_UI8 for 64-bit TestStand.