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

bcrypt_main.c
Go to the documentation of this file.
00001 /*
00002  * Copyright 2009 Henri Verbeet for CodeWeavers
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 
00020 #include "config.h"
00021 #include "wine/port.h"
00022 #include "wine/debug.h"
00023 
00024 #include "winbase.h"
00025 #include "bcrypt.h"
00026 
00027 typedef LONG NTSTATUS;
00028 
00029 WINE_DEFAULT_DEBUG_CHANNEL(bcrypt);
00030 
00031 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
00032 {
00033     TRACE("fdwReason %u\n", fdwReason);
00034 
00035     switch(fdwReason)
00036     {
00037         case DLL_PROCESS_ATTACH:
00038             DisableThreadLibraryCalls(hInstDLL);
00039             break;
00040     }
00041 
00042     return TRUE;
00043 }
00044 
00045 NTSTATUS WINAPI BCryptEnumAlgorithms(ULONG dwAlgOperations, ULONG *pAlgCount,
00046                                      BCRYPT_ALGORITHM_IDENTIFIER **ppAlgList, ULONG dwFlags)
00047 {
00048     FIXME("%08x, %p, %p, %08x - stub\n", dwAlgOperations, pAlgCount, ppAlgList, dwFlags);
00049 
00050     *ppAlgList=NULL;
00051     *pAlgCount=0;
00052 
00053     return ERROR_CALL_NOT_IMPLEMENTED;
00054 }

Generated on Sat May 26 2012 04:21:24 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.