com_ex.idl
资源名称:08.zip [点击查看]
上传用户:ynjin1970
上传日期:2014-10-13
资源大小:6438k
文件大小:2k
源码类别:
中间件编程
开发平台:
Visual C++
- // com_ex.idl : IDL source for com_ex.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (com_ex.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(41E4A5DE-0C63-4291-8042-618761BAF407),
- dual,
- helpstring("Icontour Interface"),
- pointer_default(unique)
- ]
- interface Icontour : IDispatch
- {
- [propget, id(1), helpstring("property startZ")] HRESULT startZ([out, retval] double *pVal);
- [propput, id(1), helpstring("property startZ")] HRESULT startZ([in] double newVal);
- [propget, id(2), helpstring("property incZ")] HRESULT incZ([out, retval] double *pVal);
- [propput, id(2), helpstring("property incZ")] HRESULT incZ([in] double newVal);
- [propget, id(3), helpstring("property endZ")] HRESULT endZ([out, retval] double *pVal);
- [propput, id(3), helpstring("property endZ")] HRESULT endZ([in] double newVal);
- [id(4), helpstring("method GetContourCount")] HRESULT GetContourCount([out, retval] long * nCount);
- [id(5), helpstring("method GetContourValueOf")] HRESULT GetContourValueOf([in] long nContourIndex, [out,retval] double *Z);
- [id(6), helpstring("method GetPointsCountOf")] HRESULT GetPointsCountOf([in] long nContourIndex,[in] long nSegIndex,[out,retval] long * nPointsCount);
- [id(7), helpstring("method GetPointsOf")] HRESULT GetPointsOf([in] long nContourIndex, [in] long nSegIndex, [out,ref] double * pPointsX, [out,ref] double * pPointsY);
- [id(8), helpstring("method GetSegCountOf")] HRESULT GetSegCountOf([in] long nContourIndex, [out,retval] long * nSegCount);
- [id(9), helpstring("method InitialContour")] HRESULT InitialContour([in] LPCSTR filename);
- };
- [
- uuid(F9C7F330-512C-4B87-9301-3491B408E04B),
- version(1.0),
- helpstring("com_ex 1.0 Type Library")
- ]
- library COM_EXLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(0DBD3FE4-2CD7-456A-830E-1E532D8F5FEC),
- helpstring("contour Class")
- ]
- coclass contour
- {
- [default] interface Icontour;
- };
- };