Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

gsapi_revision (gsapi)
 
.
Summary
This function returns information about the Ghostscript Interpreter API (gsapi.dll)

C# Signature:

    [DllImport("gsdll32.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
    private static extern int gsapi_revision(ref GSVersion version, int len);

VB Signature:

    Declare Auto Function gsapi_revision Lib "gsdll32.dll" (ByRef pVer As GSVersion, ByVal pSize As Integer) As Integer

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

The gsapi_revision function takes a reference to a GSVersion structure.

Tips & Tricks:

Please add some!

Sample Code:

Here is an example of using the gsapi_revision in an object property.

    public GSVersion GSVer
    {
        get
        {
        GSVersion gsVer = new GSVersion();
        gsapi_revision(ref gsVer, Marshal.SizeOf(gsVer));
        return gsVer;
        }
    }

    Public Function TellRevision() As String
    Dim lVer As New GSVersion
    Dim lResult As Integer

    lResult = gsapi_revision(lVer, Marshal.SizeOf(lVer))
    Return lVer.product
    End Function

Documentation

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions