ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ocmm.idl
Go to the documentation of this file.
00001 /*
00002  * Copyright 2006 Matthew Kehrer
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 import "oaidl.idl";
00020 import "ocidl.idl";
00021 
00022 cpp_quote("EXTERN_C const GUID NAMEDTIMER_DRAW;")
00023 
00024 [
00025     object,
00026     uuid(3050F361-98B5-11CF-BB82-00AA00BDCE0B),
00027     pointer_default(unique)
00028 ]
00029 interface ITimerSink : IUnknown
00030 {
00031     HRESULT OnTimer([in] VARIANT vtimeAdvise);
00032 }
00033 
00034 
00035 [
00036     object,
00037     uuid(3050F360-98B5-11CF-BB82-00AA00BDCE0B),
00038     pointer_default(unique)
00039 ]
00040 interface ITimer : IUnknown
00041 {
00042     HRESULT Advise([in] VARIANT vtimeMin,
00043                    [in] VARIANT vtimeMax,
00044                    [in] VARIANT vtimeInterval,
00045                    [in] DWORD dwFlags,
00046                    [in] ITimerSink *pTimerSink,
00047                    [out] DWORD *pdwCookie);
00048 
00049     HRESULT Unadvise([in] DWORD dwCookie);
00050 
00051     HRESULT Freeze([in] BOOL fFreeze);
00052 
00053     HRESULT GetTime([out] VARIANT *pvtime);
00054 }
00055 
00056 
00057 [
00058     object,
00059     uuid(3050F35F-98B5-11CF-BB82-00AA00BDCE0B),
00060     pointer_default(unique)
00061 ]
00062 interface ITimerService : IUnknown
00063 {
00064     HRESULT CreateTimer([in] ITimer *pReferenceTimer,
00065                         [out] ITimer **ppNewTimer);
00066 
00067     HRESULT GetNamedTimer([in] REFGUID rguidName,
00068                           [out] ITimer **ppTimer);
00069 
00070     HRESULT SetNamedTimerReference([in] REFGUID rguidName,
00071                                    [in] ITimer *pReferenceTimer);
00072 }
00073 
00074 cpp_quote("#define SID_STimerService IID_ITimerService")

Generated on Sat May 26 2012 04:30:57 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.