Brew MP 1.0.2
This function sets the direct mode for the underlying object it is using.
[in] Pointer to the IDirectMode object
[in] Flags used for direct mode. Supported flags are
Disable direct mode.
Enable direct mode.
[in] Pointer to AEERect. This specifies the rectangle to be used
for drawing directly to the screen. IDirectMode implementation
will pass this rectangle to the underlying interface (like IMedia)
int IDirectMode_SetDirectMode(IDirectMode *p, int nDirect, AEERect *prc);
AEE_SUCCESS if successful
AEE_EFAILED if unable to set the requested mode on underlying interface.
If the direct mode is enabled, then the drawing on the specified rectangle on
the screen is no longer controlled by the widget's framework. If there are
any other layout related changes, which result in external invalidation of that
rectangle, the application should disable direct mode for these changes to work