共有モードでスリム リーダー/ライター (SRW) ロックを取得します。
構文
VOID AcquireSRWLockShared(
[in, out] PSRWLOCK SRWLock
);
パラメーター
[in, out] SRWLock
SRW ロックへのポインター。
戻り値
なし
必要条件
| 要件 | 値 |
|---|---|
| サポートされている最小のクライアント | Windows Vista [デスクトップ アプリのみ | UWP アプリ] |
| サポートされている最小のサーバー | Windows Server 2008 [デスクトップ アプリ | UWP アプリ] |
| 対象プラットフォーム | Windows |
| ヘッダー | synchapi.h (Windows 7 の Windows.h、Windows Server 2008 Windows Server 2008 R2 を含む) |
| Library | Kernel32.lib |
| [DLL] | Kernel32.dll |