- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
BooksDAL.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:2k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // BooksDAL.idl : IDL source for BooksDAL.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (BooksDAL.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- typedef struct DTOBook
- {
- UINT BookIsnb;
- BSTR BookName;
- BSTR BookAuthor;
- }DTOBook;
- [
- object,
- uuid(A15D55B0-457B-447F-8400-05146750B407),
- dual,
- helpstring("IDALMyBools Interface"),
- pointer_default(unique)
- ]
- interface IDALMyBools : IDispatch
- {
- [id(1), helpstring("method GetBookByIsbn")] HRESULT GetBookByIsbn([in] UINT bookisbn,[out] DTOBook** mybook);
- [id(2), helpstring("method QueryAllBook")] HRESULT QueryAllBook([out] DTOBook** allBook,[out] UINT* Numbers);
- [id(3), helpstring("method SaveBook")] HRESULT SaveBook([in] DTOBook* bookdata, [out] UINT* pResult);
- [id(4), helpstring("method DeleteBookById")] HRESULT DeleteBookById([in] UINT id, [out] UINT* iResult);
- [id(5), helpstring("method Update")] HRESULT Update([in] DTOBook* Book, [out] UINT* iResult);
- [propget, id(7), helpstring("property UID")] HRESULT UID([out, retval] BSTR *pVal);
- [propput, id(7), helpstring("property UID")] HRESULT UID([in] BSTR newVal);
- [propget, id(8), helpstring("property PWD")] HRESULT PWD([out, retval] BSTR *pVal);
- [propput, id(8), helpstring("property PWD")] HRESULT PWD([in] BSTR newVal);
- [propget, id(9), helpstring("property DataSource")] HRESULT DataSource([out, retval] BSTR *pVal);
- [propput, id(9), helpstring("property DataSource")] HRESULT DataSource([in] BSTR newVal);
- };
- [
- uuid(1BFDA612-BD12-4C48-A228-DF0437702079),
- version(1.0),
- helpstring("BooksDAL 1.0 Type Library")
- ]
- library BOOKSDALLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(E62D5912-87D8-46BD-983A-3730881D5204),
- helpstring("DALMyBools Class")
- ]
- coclass DALMyBools
- {
- [default] interface IDALMyBools;
- };
- };