From ebd88f8f8a50e519bea90c8de89d335ea427e779 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Wed, 1 Feb 2017 12:38:10 -0500 Subject: [PATCH] add msdn link for LockFileEx --- state/local_lock_windows.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/state/local_lock_windows.go b/state/local_lock_windows.go index 1a0509f737..6d3b5e2cd4 100644 --- a/state/local_lock_windows.go +++ b/state/local_lock_windows.go @@ -24,6 +24,8 @@ var ( ) const ( + // dwFlags defined for LockFileEx + // https://msdn.microsoft.com/en-us/library/windows/desktop/aa365203(v=vs.85).aspx _LOCKFILE_FAIL_IMMEDIATELY = 1 _LOCKFILE_EXCLUSIVE_LOCK = 2 )