OSGetSharedData

Syntax

typedef enum _osShared
{
    SHARED_FONT_CAFECN,
    SHARED_FONT_CAFEKR,
    SHARED_FONT_CAFESTD,
    SHARED_FONT_CAFETW
} OSShared;

BOOL OSGetSharedData(OSShared aShared,
                     u32 aFlags,
                     void ** appRetArea,
                     u32 * apRetSizeBytes);

Parameters

aShared Enumerated constant representing shared area to retrieve.
aFlags Reserved for future use. Set to 0.
appRetArea Address of pointer into which the address of the shared area is returned.
apRetSizeBytes Address of u32 into which the size in bytes of the shared area is returned.

Return Values

Returns an BOOL indicating if the call succeeded or failed.

Description

Locates system-wide shared resources. Typically shared resources are read-only and writes to their data areas will result in memory protection exceptions. The area to retrieve is specified via an enumerated constant. A pointer to the area's data and its size is retrieved.

Do Not Call From

None.

Revision History

2013/05/08 Automated cleanup pass.
2012/05/02 Initial version.


CONFIDENTIAL