Developer

API Reference

IDirectMode_GetDirectMode()

Brew Release
Brew MP 1.0.2
See Also
IDirectMode_SetDirectMode
Description

Parameters
  • p
    []:
    a pointer to the IDirectMode object
  • pnDirect
    []:
    pointer to an integer. If this pointer is not NULL, then the current DirectMode flags will be returned.
  • prc
    []:
    pointer to AEERect where the rectangle used for directmode drawing will be returned if this pointer is not NULL. This parameter has no meaning if the direct mode is disabled.
Interface
Prototype
   int *IDirectMode_GetDirectMode(IDirectMode *p, int* pnDirect, AEERect *prc);
Return
 AEE_SUCCESS : If able to get the required parameters for direct mode
 AEE_EFAILED:  Otherwise.

Side Effect
None
Comment
None
  • Follow