掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
iTunes COM で、最近のプロパティーにアクセスするには? (ID:21419)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
ついでに、気になっていることについて、聞いていいですか? 例えば、AddFileの場合、ヘルプファイルに、↓のように書かれているのですが、 //---------------------------- HRESULT IITLibraryPlaylist::AddFile ( [in] BSTR filePath, [out, retval] IITOperationStatus ** iStatus ) Parameters: filePath The full path to the file or folder to add. iStatus Returns an IITOperationStatus object corresponding to the asynchronous operation. If an error occurs, or no files were added, this will be set to NULL. Return values: S_OK The operation was successful. E_POINTER filePath or iStatus is NULL. E_INVALIDARG filePath is empty or too long, or refers to a file that would require conversion. ITUNES_E_OBJECTLOCKED This playlist is read-only. ITUNES_E_OBJECTDELETED This playlist has been deleted. E_FAIL An unexpected error occurred. //---------------------------- この Return values: S_OK E_POINTER E_INVALIDARG .. を得るにはどうすればいいのでしょうか? 関数を実行して返してくるのは iStatus なので、 S_OK とかはどうやって得ればいいのでしょうか?
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.