ICMP
|
00001 /* 00002 * IcmpMutex.h 00003 * 00004 * Copyright (c) Verax Systems. 00005 * All rights reserved. 00006 * 00007 * This software is furnished under a license. Use, duplication, 00008 * disclosure and all other uses are restricted to the rights 00009 * specified in the written license agreement. 00010 */ 00022 #ifndef __ICMP_MUTEX_H__ 00023 #define __ICMP_MUTEX_H__ 00024 00025 #include <windows.h> 00026 00030 #define ICMP_MUTEX_NAME "VERAX_ICMP_MUTEX" 00031 00032 00036 #define ICMP_MUTEX_RIGHTS "D:(A;NP;0x001f0001;;;WD)" 00037 00049 HANDLE IcmpCreateMutex(void); 00050 00051 00059 BOOL IcmpCloseMutex(HANDLE handle); 00060 00061 00068 BOOL IcmpLockMutex(HANDLE handle); 00069 00070 00077 BOOL IcmpUnlockMutex(HANDLE handle); 00078 00079 #endif