API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IDIRECTMODE_GETDIRECTMODE()

Brew Release
Brew MP 1.0.2
See Also
IDirectMode_SetDirectMode
Description

Params
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
Comments
None