p_c_dll.h

来自「操作系统课程设计」· C头文件 代码 · 共 21 行

H
21
字号
#ifndef _P_C_DLL_H_
#define _P_C_DLL_H_

#include "constant.h"

#include <windows.h>

typedef enum ContainerType{
	C_LOOP_QUEUE = 0, C_STACK
}ContainerType;

void __declspec(dllexport) Initialize(ContainerType, UINT, UINT);
void __declspec(dllexport) ProducerStart();
void __declspec(dllexport) ConsumerStart();
void __declspec(dllexport) SuspendAll();
void __declspec(dllexport) ResumeAll();
void __declspec(dllexport) StopAll();
void __declspec(dllexport) SetProducerTimer(UINT);
void __declspec(dllexport) SetConsumerTimer(UINT);

#endif

⌨️ 快捷键说明

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