「Sds layoutgetcur」の版間の差分
(ページの作成: ; 構文 : int sds_layoutgetcur (sds_name entname); ; 機能 : 現在のレイアウトエンティティ名を取得する。 ; 引数 :* entname : 現在のレイアウト…) |
(相違点なし)
|
2009年12月28日 (月) 12:31時点における最新版
- 構文
- int sds_layoutgetcur (sds_name entname);
- 機能
- 現在のレイアウトエンティティ名を取得する。
- 引数
-
- entname : 現在のレイアウトエンティティ名。
- 戻り値
- 成功なら RTNORM、そうでなければ RTERROR。
- サンプル
sds_name_clear(entname1);
struct sds_resbuf *entlist = NULL;
// 現在のタブを取得
if (sds_layoutgetcur(entname1) != RTNORM)
{
sds_printf("\nレイアウトを取得できませんでした。");
return RTNORM;
}
// エンティティデータを取得
entlist = sds_entget(entname1);
// Release the resbuf
if (entlist != NULL)
sds_relrb(entlist);
関連事項