Rename BixV Reader to VivoKey Smart Reader
This commit is contained in:
24
virtualsmartcard/win32/VivoKeySmartReader/sectionLocker.h
Normal file
24
virtualsmartcard/win32/VivoKeySmartReader/sectionLocker.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
#include "internal.h"
|
||||
|
||||
class SectionLocker {
|
||||
char *Function;
|
||||
int Line;
|
||||
void *Object;
|
||||
public:
|
||||
CRITICAL_SECTION *section;
|
||||
|
||||
SectionLocker(CRITICAL_SECTION &critsection,char *function,int line,void* object);
|
||||
//SectionLocker(CRITICAL_SECTION §ion);
|
||||
~SectionLocker();
|
||||
};
|
||||
|
||||
class SectionLogger {
|
||||
DWORD start;
|
||||
char *SectionName;
|
||||
public:
|
||||
SectionLogger(char *section);
|
||||
~SectionLogger();
|
||||
};
|
||||
|
||||
#define lock(x) lockObj(x,__FUNCTION__,__LINE__,NULL)
|
||||
Reference in New Issue
Block a user