00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Handle_Ops.h 00006 * 00007 * Handle_Ops.h,v 1.9 2005/10/28 16:14:52 ossama Exp 00008 * 00009 * Handle operations. 00010 */ 00011 //============================================================================= 00012 00013 #ifndef ACE_HANDLE_OPS_H 00014 #define ACE_HANDLE_OPS_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "ace/ACE_export.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "ace/Global_Macros.h" 00025 00026 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 class ACE_Time_Value; 00029 00030 // = Operations on HANDLEs. 00031 namespace ACE 00032 { 00033 /** 00034 * Wait up to @a timeout> amount of time to actively open a device. 00035 * This method doesn't perform the @c connect, it just does the 00036 * timed wait. 00037 */ 00038 extern ACE_Export ACE_HANDLE handle_timed_open ( 00039 ACE_Time_Value *timeout, 00040 const ACE_TCHAR *name, 00041 int flags, 00042 int perms, 00043 LPSECURITY_ATTRIBUTES sa = 0); 00044 } 00045 00046 ACE_END_VERSIONED_NAMESPACE_DECL 00047 00048 #include /**/ "ace/post.h" 00049 00050 #endif /* ACE_HANDLE_OPS_H */