Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a new function to be called when the module terminates.
HRESULT AddTermFunc(
_ATL_TERMFUNC* pFunc,
DWORD_PTR dw
) throw( );
Parameters
pFunc
Pointer to the function to add.dw
User-defined data, passed to the function.
Return Value
Returns S_OK on success, or an error HRESULT on failure.
Requirements
Header: atlbase.h