AG903ライブラリリファレンス
内容インデックスホーム
前へ上へ次へ
AG903_VRAMMgrFmalloc 関数

固定長メモリ獲得(ポーリング)

Syntax
C++
void* AG903_VRAMMgrFmalloc(int32_t mplid);
引数 
説明 
int32_t mplid 
[in] メモリプールID 

固定長メモリ獲得(ポーリング)結果

返値の詳細 
説明 
メモリブロックへのポインタ 
NULL:獲得失敗 

固定長メモリを獲得(ポーリング)します。 (AG903_OSWprGetMpf を呼び出します。)

1: void* AG903_VRAMMgrFmalloc(int32_t mplid) 2: { 3: int32_t result; 4: void* p_blk; 5: 6: result = AG903_OSWprGetMpf(mplid, &p_blk); 7: if(AG903_ENONE != result) { 8: p_blk = NULL; 9: } 10: 11: return p_blk; 12: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.