Skip to content

sco_plugin_query

const sco_plugin_info* sco_plugin_query(void); info.size set to sizeof, name/version/author UTF-8 NUL strings

const sco_plugin_info *(void)

Service index

Property Value
Symbol sco_plugin_query
Record ID sco-plugin-query
Service native-plugin
Table Native entrypoint (no table)
Version macro SCO_API_MAJOR/SCO_API_MINOR
Packed table version Not applicable
Since / availability API 1.0; returned info must cover 32-byte sco_plugin_info
Complete member extent (x64 bytes) None
Table size (x64 bytes) None

Header source

const sco_plugin_info* sco_plugin_query(void); info.size set to sizeof, name/version/author UTF-8 NUL strings

NULL info, undersized info, major mismatch, newer minor, mismatched plugin id or guarded fault refuses load; no capability gate

unspecified

Plugin-owned static info/string storage valid until DLL unload; host copies checked metadata. Never free from host

Query-thread identity unspecified; recursive reentrancy unspecified

unspecified

unspecified

No cancellation entrypoint; query does not register a cleanup notification

Status labels are copied verbatim from the catalogue: direct is native access; typed-wrapper is wrapper-backed; restricted is a subset/adaptation; unsupported means no supported route is established. No status implies universal safety.

Language Catalogue status Source evidence / wrapper tokens
c direct include/sco_api.h
sco_plugin_query(void)
cpp typed-wrapper include/scosdk/plugin.hpp
extern “C” SCO_EXPORT const sco_plugin_info* sco_plugin_query(void)
csharp typed-wrapper sdk/examples/cs_hello/CsHello.cs
[UnmanagedCallersOnly(EntryPoint = “sco_plugin_query”)]
sdk/examples/cs_hello/CsHello.cs
PluginExports.Query(
lua unsupported sdk/docs/lua.md
A Lua plugin is a folder with plugin.ini (kind = lua, entry = main.lua)

ABI pins prove layout, not semantic behavior or a live game session.