Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Dos Protected Mode Interface - <b>get vendor specific api entry point</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        GET VENDOR SPECIFIC API ENTRY POINT


            Some DOS extenders provide extensions to the standard set of
            DPMI calls.   This  call is  used to obtain an address which
            must be  called to  use the  extensions.   The caller points
            DS:(E)SI to  a null  terminated string  that  specifies  the
            vendor name  or some  other unique  identifier to obtain the
            specific extension entry point.

            To Call

                 AX = 0A00h
                 DS:(E)SI = Pointer to null terminated string

            Returns

                 If function was successful:
                 Carry flag is clear
                 ES:(E)DI = Extended API entry point
                 DS, FS,  GS, EAX,  EBX, ECX,  EDX, ESI,  and EBP may be
            modified

                 If function was not successful:
                 Carry flag is set

            Programmer's Notes

                 o    Execute a far call to call the API entry point.
                 o    All extended  API parameters  are specified by the
                      vendor.
                 o    The string comparison used to return the API entry
                      point is case sensitive.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson