User Tools

Site Tools


eliteapi:functions:eliteapi:createinstance

CreateInstance

Creates an instance of the EliteAPI internal object for the given FFXi process.

ELITEAPI_API void* __stdcall CreateInstance(unsigned int processId);

Parameters

  • processId [in]
    • The process id of the Final Fantasy XI process to attach to.

Return Value

A handle to the created internal EliteAPI object. NULL otherwise.

Notes

If the process id passed to this function is 0, the EliteAPI instance is loaded as a resource-only module. This means that the Resources namespace functions will continue to operate as normal, but the rest of the API will be disabled. Keep in mind, when resource-only mode is enabled, EliteAPI.dll makes a best-effort attempt to locate the installation path of Final Fantasy XI automatically. The priority of client types is: US > JP > EU

eliteapi/functions/eliteapi/createinstance.txt · Last modified: 2014/12/15 14:22 by atom0s