-
Notifications
You must be signed in to change notification settings - Fork 6
S4ApiCreate
nyfrk edited this page Aug 22, 2020
·
1 revision
Create an ISettlers4Api Interface configure game hooks of the Settlers 4.
LPSETTLERS4API S4ApiCreate();none
The function returns a pointer to a ISettlers4Api interface or NULL if an error occured.
The function may fail if the runtime cannot provide the interface specified by the header. See S4CreateInterface for details.
Call the IUnknown::Release method when you no longer need to use an interface pointer. After it has been released you must not access any member of this pointer.
| Minimum API Level | 1 |
| Target Edition | Any |
| Header | S4ModApi.h |
| Library | S4ModApi.lib |
| DLL | S4ModApi.dll |