using System; using System.Collections.Generic; using System.Text; namespace StgSharp.Graphic { /// /// Provides methods for querying available functions in a bindings context. /// public interface IBindingsContext { /// /// Retrieves an unmanaged function pointer to the specified function on the specified bindings context. /// /// An ASCII-encoded string that defines the name of the function. /// /// A that contains the address of procName or IntPtr.Zero, /// if the function is not supported by the drivers. /// /// /// Note: some drivers are known to return non-zero values for unsupported functions. /// Typical values include 1 and 2 - inheritors are advised to check for and ignore these /// values. /// IntPtr GetProcAddress(string procName); } }