能力值:
( LV2,RANK:10 )
|
-
-
2 楼
搞定了。。。。。。。
PKMUTEX g_pMutex1 = NULL;
PKMUTEX g_pMutex2 = NULL;
PKMUTEX g_pMutex3 = NULL;
PKMUTEX g_pMutex4 = NULL;
PKMUTEX g_pMutex5 = NULL;
KeInitializeMutex( g_pMutex1, 0 );
KeInitializeMutex( g_pMutex2, 0 );
KeInitializeMutex( g_pMutex3, 0 );
KeInitializeMutex( g_pMutex4, 0 );
KeInitializeMutex( g_pMutex5, 0 );
g_Mutex1 = (PKMUTEX)ExAllocatePoolWithTag(NonPagedPool, sizeof(KMUTEX),'TSET');
g_Mutex2 = (PKMUTEX)ExAllocatePoolWithTag(NonPagedPool, sizeof(KMUTEX),'TSET');
g_Mutex3 = (PKMUTEX)ExAllocatePoolWithTag(NonPagedPool, sizeof(KMUTEX),'TSET');
g_Mutex4 = (PKMUTEX)ExAllocatePoolWithTag(NonPagedPool, sizeof(KMUTEX),'TSET');
g_Mutex5 = (PKMUTEX)ExAllocatePoolWithTag(NonPagedPool, sizeof(KMUTEX),'TSET');
|
|
|