
                
             Copyright (c) 1993 Jay Giganti.  All Rights Reserved

                        Beta Version MMHook.DLL 00.50

  These functions provide users of Paradox for windows to have a simple
  interface into the audio video multimedia interface


  This DLL is compiled for use with 386's and above
  
  This current version is a beta copy and is issued as is,  This DLL currently
  only supports 1 AVI window at a The Next version will provide support for
  multiple windows and greater functionality in the next version, at that
  time it will also turn into shareware.  Currently it is freeware, although
  I maintain the copyright.

  Please send any suggestions, criticisim, or plain comments to me at
  72037,2225.  Also this is my first paradox for windows application so if
  you see anything thats blatantly wrong, or some way that I could improve it
  please let me know.

  You will find all of the functions declared in the forms uses sections,
  along with error code constants, and AVI_ constants.  I have not supplied
  any AVI files due to their size.  So you will need to modify avis.db


 NOTICE that the function aviInitDevice is called from the forms open method
 and that aviCloseDevice is called from the forms close method, this is the
 safest way to insure that the driver is opened and shut down properly

  The following are valid aviSeek directions
            AVI_SEEK_HOME   0
            AVI_SEEK_END    1
            
  The following are valid aviPlay modes
            AVI_PLAY_PAUSE  0
            AVI_PLAY_FWD    1
            AVI_PLAY_REV    2
            
  The following are valid aviStep directions
            AVI_STEP_FWD    0
            AVI_STEP_REV    1

     This function will center the video window within the client area of
     the client area is retrieved from the handle of the window that you
     pass in when you issue the aviOpen command
DWORD FAR PASCAL aviCenter(void);

    This Function closes the current AVI file that was opened
DWORD FAR PASCAL aviClose(void);

    This will shut down the audio video device driver this should be called
    when you are all done otherwise the device will remian open
DWORD FAR PASCAL aviCloseDevice(void);

    This will invoke the configuration dialog box for the media player
DWORD FAR PASCAL aviConfigure(void);

    This actually initialiezes the audio video device driver and it is the
    first function to be called
DWORD FAR PASCAL aviInitDevice(void);

   This will open the file name that you pass in and set the video window to
   be a child of the window handle that you pass in, you can either use
   the windowHandle, or windowClientHandle functions to retrieve a valid
   window handle
DWORD FAR PASCAL aviOpen(WORD hWnd, char *szFileName);

   This function will play the video file that is opened, you should open
   file before you try and play one, the wDirection parameter can be set to
   either AVI_PLAY_PAUSE which pauses the video, AVI_PAY_FWD which will
   play the video forwards or AVI_PLAY_REVERSE which will play the video
   backwards
DWORD FAR PASCAL aviPlay(WORD wDirection);

   This will position the video window relative to the window that was set
   as its parent when to issued the aviOpen command
DWORD FAR PASCAL aviPosition(WORD wLeft, WORD wTop, WORD wWidth, WORD wHeight);

   This command will currently seek to the start or finish of the video by
   setting the wAction field to either AVI_SEEK_HOME or AVI_SEEK_END
DWORD FAR PASCAL aviSeek(WORD wAction);

   this will set the speed at which the video runs 1000 is normal 0 is the
   slowest and 2000 is the fastest
DWORD FAR PASCAL aviSpeed(WORD wSpeed);

   This will allow you to step through the video in either direction, it
   will step dwNumFrames each time.
DWORD FAR PASCAL aviStep(WORD wDirection, DWORD dwNumFrames);


