SysAllocStringLen 関数 (oleauto.h) - Win32 apps

新しい文字列を割り当て、渡された文字列から指定した文字数をコピーし、null 終端文字を追加します。