ShortMult 関数 (intsafe.h)

SHORT 型の 2 つの値を乗算します。

構文

HRESULT ShortMult(
  [in]  SHORT sMultiplicand,
  [in]  SHORT sMultiplier,
  [out] SHORT *psResult
);

パラメーター

[in] sMultiplicand

最初の値。

[in] sMultiplier

2 番目の値。

[out] psResult

結果。

戻り値

この関数が成功すると、 S_OKが返されます。 そうでない場合は、HRESULT エラー コードを返します。

要件

   
サポートされている最小のクライアント Windows 7 [デスクトップ アプリ |UWP アプリ]
サポートされている最小のサーバー Windows Server 2008 R2 [デスクトップ アプリ |UWP アプリ]
対象プラットフォーム Windows
ヘッダー intsafe.h