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

notify.c
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:   See COPYING in the top level directory
00003  * PROJECT:     ReactOS WinSock 2 DLL
00004  * FILE:        include/ws2_32.h
00005  * PURPOSE:     WinSock 2 DLL header
00006  */
00007 
00008 /* INCLUDES ******************************************************************/
00009 
00010 #include "precomp.h"
00011 
00012 /* DATA **********************************************************************/
00013 
00014 #define HANH        (HANDLE)'2SOR'
00015 
00016 PSECURITY_DESCRIPTOR pSDPipe = NULL;
00017 
00018 /* FUNCTIONS *****************************************************************/
00019 
00020 DWORD
00021 WINAPI
00022 WahCloseNotificationHandleHelper(IN HANDLE HelperHandle)
00023 {
00024     DWORD ErrorCode;
00025 
00026     /* Enter the prolog, make sure we're initialized */
00027     ErrorCode = WS2HELP_PROLOG();
00028     if (ErrorCode != ERROR_SUCCESS) return ErrorCode;
00029 
00030     /* Validate handle */
00031     if (HelperHandle != HANH) return ERROR_INVALID_PARAMETER;
00032 
00033     /* return */
00034     return ERROR_SUCCESS;
00035 }
00036 
00037 DWORD
00038 WINAPI
00039 WahCreateNotificationHandle(IN HANDLE HelperHandle,
00040                             OUT PHANDLE NotificationHelperHandle)
00041 {
00042     UNREFERENCED_PARAMETER(HelperHandle);
00043     UNREFERENCED_PARAMETER(NotificationHelperHandle);
00044     return 0;
00045 }
00046 
00047 DWORD
00048 WINAPI
00049 WahOpenNotificationHandleHelper(OUT PHANDLE HelperHandle)
00050 {
00051     DWORD ErrorCode;
00052 
00053     /* Enter the prolog, make sure we're initialized */
00054     ErrorCode = WS2HELP_PROLOG();
00055     if (ErrorCode != ERROR_SUCCESS) return ErrorCode;
00056 
00057     /* Validate handle */
00058     if (!HelperHandle) return ERROR_INVALID_PARAMETER;
00059 
00060     /* Return a bogus handle ("ROS2") */
00061     *HelperHandle = HANH;
00062     return ERROR_SUCCESS;
00063 }
00064 
00065 INT
00066 WINAPI
00067 WahNotifyAllProcesses(IN HANDLE NotificationHelperHandle)
00068 {
00069     UNREFERENCED_PARAMETER(NotificationHelperHandle);
00070     return 0;
00071 }
00072 
00073 INT
00074 WINAPI 
00075 WahWaitForNotification(IN HANDLE NotificationHelperHandle,
00076                        IN HANDLE lpNotificationHandle,
00077                        IN LPWSAOVERLAPPED lpOverlapped,
00078                        IN LPWSAOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine)
00079 {
00080     UNREFERENCED_PARAMETER(NotificationHelperHandle);
00081     UNREFERENCED_PARAMETER(lpNotificationHandle);
00082     UNREFERENCED_PARAMETER(lpOverlapped);
00083     UNREFERENCED_PARAMETER(lpCompletionRoutine);
00084     return 0;
00085 }
00086 
00087 /* EOF */

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