1234567891011121314151617181920212223242526272829303132333435363738394041 |
- // Permissions.h : Permissions DLL 的主头文件
- //
- #pragma once
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
- #include "resource.h" // 主符号
- // CPermissionsApp
- // 有关此类实现的信息,请参阅 Permissions.cpp
- //
- class CPermissionsApp : public CWinApp
- {
- public:
- CPermissionsApp();
- // 重写
- public:
- virtual BOOL InitInstance();
- DECLARE_MESSAGE_MAP()
- };
- #define STONEU_API __declspec(dllexport)
- int STONEU_API PMS_InitSDK();
- int STONEU_API PMS_UnInitSDK();
- int STONEU_API PMS_AddGroup( CString sGroupName,int iGroupID );
- int STONEU_API PMS_DelGroup( int iGroupID );
- int STONEU_API PMS_AddPermitToGroup( CString sPermitName,int iPermitID,int iGroupID );
- int STONEU_API PMS_DelPermitFromGroup( int iPermitID,int iGroupID );
- int STONEU_API PMS_AddUserToGroup( CString sUserName,int iUserID,int iGroupID );
- int STONEU_API PMS_DelUserFromGroup( int iUserID );
- int STONEU_API PMS_VerifyUserPermit( int iUserID,int iPermitID,CString sPermitName );
|