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

user.c
Go to the documentation of this file.
00001 /* $Id: user.c 55696 2012-02-19 03:51:36Z ion $
00002  *
00003  * subsystems/win32/csrss/csrsrv/api/user.c
00004  *
00005  * User functions
00006  *
00007  * ReactOS Operating System
00008  *
00009  * PROGRAMMER: Eric Kohl
00010  */
00011 
00012 /* INCLUDES ******************************************************************/
00013 
00014 #include <srv.h>
00015 
00016 #define NDEBUG
00017 #include <debug.h>
00018 
00019 /* GLOBALS *******************************************************************/
00020 
00021 static BOOLEAN ServicesProcessIdValid = FALSE;
00022 static ULONG_PTR ServicesProcessId;
00023 
00024 
00025 /* FUNCTIONS *****************************************************************/
00026 
00027 CSR_API(CsrRegisterServicesProcess)
00028 {
00029   if (ServicesProcessIdValid == TRUE)
00030     {
00031       /* Only accept a single call */
00032       return STATUS_INVALID_PARAMETER;
00033     }
00034   else
00035     {
00036       ServicesProcessId = (ULONG_PTR)Request->Data.RegisterServicesProcessRequest.ProcessId;
00037       ServicesProcessIdValid = TRUE;
00038       return STATUS_SUCCESS;
00039     }
00040 }
00041 
00042 /* EOF */

Generated on Fri May 25 2012 04:36:07 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.