root / Client / UPlatformTypes.pas @ 0:95bd93c28625
History | View | Annotate | Download (2 kB)
| 1 | (*
|
|---|---|
| 2 | * CDDL HEADER START |
| 3 | * |
| 4 | * The contents of this file are subject to the terms of the |
| 5 | * Common Development and Distribution License, Version 1.0 only |
| 6 | * (the "License"). You may not use this file except in compliance |
| 7 | * with the License. |
| 8 | * |
| 9 | * You can obtain a copy of the license at |
| 10 | * http://www.opensource.org/licenses/cddl1.php. |
| 11 | * See the License for the specific language governing permissions |
| 12 | * and limitations under the License. |
| 13 | * |
| 14 | * When distributing Covered Code, include this CDDL HEADER in each |
| 15 | * file and include the License file at |
| 16 | * http://www.opensource.org/licenses/cddl1.php. If applicable, |
| 17 | * add the following below this CDDL HEADER, with the fields enclosed |
| 18 | * by brackets "[]" replaced with your own identifying * information: |
| 19 | * Portions Copyright [yyyy] [name of copyright owner] |
| 20 | * |
| 21 | * CDDL HEADER END |
| 22 | * |
| 23 | * |
| 24 | * Portions Copyright 2007 Andreas Schneider |
| 25 | *) |
| 26 | unit UPlatformTypes;
|
| 27 | |
| 28 | {$mode objfpc}{$H+} |
| 29 | |
| 30 | interface
|
| 31 | |
| 32 | uses
|
| 33 | Classes, SysUtils, ActiveX; |
| 34 | |
| 35 | type
|
| 36 | IDataObject = ActiveX.IDataObject; |
| 37 | {IDataObject = Interface (IUnknown)
|
| 38 | ['{0000010e-0000-0000-C000-000000000046}']'
|
| 39 | function GetData(const formatetcIn: FORMATETC; out medium: STGMEDIUM): HRESULT; stdcall; |
| 40 | function GetDataHere(const pformatetc: FormatETC; out medium: STGMEDIUM): HRESULT; stdcall; |
| 41 | function QueryGetData(const pformatetc: FORMATETC): HRESULT; stdcall; |
| 42 | function GetCanonicalFormatTEtc(const pformatetcIn: FORMATETC; out pformatetcOut: FORMATETC): HResult; stdcall; |
| 43 | function SetData (const pformatetc: FORMATETC;const medium:STGMEDIUM;FRelease : BOOL):HRESULT; stdcall; |
| 44 | function EnumFormatEtc(dwDirection: DWord; out enumformatetcpara: IENUMFORMATETC): HRESULT; stdcall; |
| 45 | function DAdvise(const formatetc: FORMATETC; advf: DWORD; const AdvSink: IAdviseSink; out dwConnection: DWORD): HRESULT; stdcall; |
| 46 | function DUnadvise(dwconnection: DWord): HRESULT; stdcall; |
| 47 | function EnumDAvise(out enumAdvise: IEnumStatData): HRESULT; stdcall; |
| 48 | end;} |
| 49 | |
| 50 | implementation
|
| 51 | |
| 52 | end.
|
| 53 |