-
Notifications
You must be signed in to change notification settings - Fork 6
RemoveListener
nyfrk edited this page Aug 22, 2020
·
1 revision
Unregister a Listener that has previously been registered by one of the add listener methods of the ISettlers4Api interface.
HRESULT ISettlers4Api::RemoveListener(
S4HOOK uiHook
);uiHook
The S4HOOK identifier that has been returned by one of the AddListener methods.
If the method succeeds the return value will be S_OK.
If the handle was invalid the method will return E_HANDLE.
All hooks must be removed with ISettlers4Api::RemoveListener before terminating the application.
| Minimum API Level | 1 |
| Target Edition | Any |
| Header | S4ModApi.h |
| Library | S4ModApi.lib |
| DLL | S4ModApi.dll |