apisetschema

Classes, exceptions, and methods to parse Windows ApiSet.

class pyjectify.windows.utils.apisetschema.ApiSetSchema[source]

This class provide methods to parse and resolve Windows ApiSet.

Initialization: retrieve apisetschema.dll and parse ApiSet section

property entries: dict[str, list[str]]

Dict of api name -> list of api names defined by Windows ApiSet

resolve(name: str) str[source]

Resolve a Windows ApiSet

Parameters:

name – name of the Windows ApiSet

Returns:

The resolved name of the Windows ApiSet (last entry defined by Windows ApiSet)

exception pyjectify.windows.utils.apisetschema.InvalidApiSetSchema[source]

Exception for ApiSet parsing errors