home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / PCMCIA / CLDFM / CS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-14  |  1.9 KB  |  69 lines

  1. /*DDK*************************************************************************/
  2. /*                                                                           */
  3. /* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
  4. /*                                                                           */
  5. /*    The following IBM OS/2 WARP source code is provided to you solely for  */
  6. /*    the purpose of assisting you in your development of OS/2 WARP device   */
  7. /*    drivers. You may use this code in accordance with the IBM License      */
  8. /*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
  9. /*    Copyright statement may not be removed.                                */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. /**************************************************************************
  13.  *
  14.  * SOURCE FILE NAME = CS.H
  15.  *
  16.  * DESCRIPTIVE NAME = Card Services Header File
  17.  *
  18.  *
  19.  * VERSION =
  20.  *
  21.  * DATE
  22.  *
  23.  * DESCRIPTION This file contains prototypes for public functions
  24.  *                    in cardserv.h
  25.  *
  26.  * FUNCTIONS
  27.  *
  28.  * ENTRY POINTS:
  29.  *
  30.  * DEPENDENCIES:
  31.  *
  32.  * NOTES
  33.  *
  34.  *
  35.  * STRUCTURES
  36.  *
  37.  * EXTERNAL REFERENCES
  38.  *
  39.  * EXTERNAL FUNCTIONS
  40.  *
  41. */
  42.  
  43.     /*
  44.     ** constant definitions
  45.     */
  46. #define SUCCESS 0
  47.  
  48.     /*
  49.     ** type definitions
  50.     */
  51. typedef struct {
  52.     UCHAR  function;
  53.     USHORT handle;
  54.     ULONG  pointer;
  55.     USHORT arglength;
  56.     ULONG  argpointer;
  57. } IDC_PACKET;
  58.  
  59.     /*
  60.     ** public  function prototypes
  61.     */
  62. BOOL   cs_card_present(USHORT);
  63. BOOL   cs_is_modem_card(USHORT);
  64. USHORT cs_register_client(void);
  65. USHORT cs_acquire_resource(USHORT, USHORT, USHORT);
  66. USHORT cs_release_resource(USHORT, USHORT, USHORT);
  67. USHORT cs_get_num_of_sockets(void);
  68. BOOL   cs_services_present(void);
  69.