' ########################################################################################
' Microsoft Windows
' File: locking.inc
' Contents: This file defines the flags for the locking() function.
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_locking_PBI)
#DEFINE PBX_locking_PBI
%EQUATE `LOCKING = 1
%EQUATE `LK_UNLCK = 0 ' /* unlock the file region */
%EQUATE `LK_LOCK = 1 ' /* lock the file region */
%EQUATE `LK_NBLCK = 2 ' /* non-blocking lock */
%EQUATE `LK_RLCK = 3 ' /* lock for writing */
%EQUATE `LK_NBRLCK = 4 ' /* non-blocking lock for writing */
#ENDIF
