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

traffic_main.c
Go to the documentation of this file.
00001 /*
00002  * QoS traffic control implementation
00003  *
00004  * Copyright 2009 Austin English
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00019  */
00020 #include <stdarg.h>
00021 
00022 #include "windef.h"
00023 #include "winbase.h"
00024 #include "traffic.h"
00025 #include "wine/debug.h"
00026 
00027 WINE_DEFAULT_DEBUG_CHANNEL(traffic);
00028 
00029 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
00030 {
00031     TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
00032 
00033     switch (fdwReason)
00034     {
00035         case DLL_WINE_PREATTACH:
00036             return FALSE;    /* prefer native version */
00037         case DLL_PROCESS_ATTACH:
00038             DisableThreadLibraryCalls(hinstDLL);
00039             break;
00040         default:
00041             break;
00042     }
00043 
00044     return TRUE;
00045 }
00046 
00047 /*****************************************************************************
00048  * TcRegisterClient [TRAFFIC.@]
00049  */
00050 ULONG WINAPI TcRegisterClient(ULONG version, HANDLE context,
00051                               PTCI_CLIENT_FUNC_LIST list, PHANDLE buffer)
00052 {
00053     FIXME("(%u %p %p %p) stub\n", version, context, list, buffer);
00054     if(buffer) *buffer = INVALID_HANDLE_VALUE;
00055     return ERROR_CALL_NOT_IMPLEMENTED;
00056 }
00057 
00058 /*****************************************************************************
00059  * TcDeregisterClient [TRAFFIC.@]
00060  */
00061 ULONG WINAPI TcDeregisterClient(HANDLE ClientHandle)
00062 {
00063     FIXME("%p: stub\n", ClientHandle);
00064     return ERROR_CALL_NOT_IMPLEMENTED;
00065 }

Generated on Sun May 27 2012 04:26:35 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.