⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 freeotfe4pdacontextmgrdevice.h

📁 文件驱动加密,功能强大,可产生加密分区,支持AES,MD2,MD4,MD5MD2, MD4, MD5, RIPEMD-128, RIPEMD-160, SHA-1, SHA-224, SHA-256,
💻 H
字号:
// Description: 
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW:   http://www.FreeOTFE.org/
//
// -----------------------------------------------------------------------------
//


#ifndef _FreeOTFE4PDAContextMgrDevice_H
#define _FreeOTFE4PDAContextMgrDevice_H   1

#include "FreeOTFEContext.h"


// =========================================================================
// Const definitions


// =========================================================================
// Structures

// Device handle list (linked list) item
typedef struct _DEVICE_LIST_ITEM {
    DWORD hDevice;
    BOOL DismountPending;
    DEVICE_CONTEXT* DeviceContext;
    CRITICAL_SECTION CriticalSection;

    struct _DEVICE_LIST_ITEM* NextListItem;
} DEVICE_LIST_ITEM, *PDEVICE_LIST_ITEM;


// =========================================================================
// Global definitions

extern BOOL G_contextMgrDeviceInitialized;
extern DWORD G_contextMgrDeviceLastHandle;
extern CRITICAL_SECTION G_contextMgrDeviceCriticalSection;
extern DEVICE_LIST_ITEM* G_contextMgrDeviceDeviceList;


// =========================================================================
// Function headers

BOOL contextMgrDevice_Init();
BOOL contextMgrDevice_Deinit();
DEVICE_LIST_ITEM* contextMgrDevice_GetDevice(DWORD hDevice, DEVICE_CONTEXT** devContext);
void contextMgrDevice_ReleaseDevice(DEVICE_LIST_ITEM* listItem);
DWORD contextMgrDevice_AddDevice(DEVICE_CONTEXT* devContext);
DEVICE_CONTEXT* contextMgrDevice_DeleteDevice(DWORD hDevice);


// =========================================================================
// =========================================================================

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -