mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
708 B
24 lines
708 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 1992.
|
|
//
|
|
// File: lock.hxx
|
|
//
|
|
// Contents: Function definitions for remote exclusion functions
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
#ifndef __LOCK_HXX__
|
|
#define __LOCK_HXX__
|
|
|
|
#define NOLOCK 0x0
|
|
|
|
SCODE GetAccess(ILockBytes *plst, DFLAGS df, ULONG *poReturn);
|
|
void ReleaseAccess(ILockBytes *plst, DFLAGS df, ULONG offset);
|
|
SCODE GetOpen(ILockBytes *plst, DFLAGS df, BOOL fCheck, ULONG *puReturn);
|
|
void ReleaseOpen(ILockBytes *plst, DFLAGS df, ULONG offset);
|
|
|
|
#define REMOTE
|
|
|
|
#endif // #ifndef __LOCK_HXX__
|