目次 - API(機能別) - HIDデバイス - SDL_hid_get_product_string

SDL_hid_get_product_string

HIDデバイスのプロダクト文字列を得る

構文

int SDL_hid_get_product_string(SDL_hid_device *dev, wchar_t *string, size_t maxlen)

引数

devSDL_hid_open()が戻したデバイスハンドル
stringデータの書き込み先ワイド文字列バッファ
maxlenバッファの文字数

戻り値

成功のとき0, 失敗のとき-1を戻す.

バージョン

SDL 2.0.18以降

SDL Wikiへのリンク

SDL_hid_get_product_string - SDL Wiki