home *** CD-ROM | disk | FTP | other *** search
- /*DDK*************************************************************************/
- /* */
- /* COPYRIGHT Copyright (C) 1995 IBM Corporation */
- /* */
- /* The following IBM OS/2 WARP source code is provided to you solely for */
- /* the purpose of assisting you in your development of OS/2 WARP device */
- /* drivers. You may use this code in accordance with the IBM License */
- /* Agreement provided in the IBM Device Driver Source Kit for OS/2. This */
- /* Copyright statement may not be removed. */
- /* */
- /*****************************************************************************/
- /**************************************************************************
- *
- * SOURCE FILE NAME = CS.H
- *
- * DESCRIPTIVE NAME = Card Services Header File
- *
- *
- * VERSION =
- *
- * DATE
- *
- * DESCRIPTION This file contains prototypes for public functions
- * in cardserv.h
- *
- * FUNCTIONS
- *
- * ENTRY POINTS:
- *
- * DEPENDENCIES:
- *
- * NOTES
- *
- *
- * STRUCTURES
- *
- * EXTERNAL REFERENCES
- *
- * EXTERNAL FUNCTIONS
- *
- */
-
- /*
- ** constant definitions
- */
- #define SUCCESS 0
-
- /*
- ** type definitions
- */
- typedef struct {
- UCHAR function;
- USHORT handle;
- ULONG pointer;
- USHORT arglength;
- ULONG argpointer;
- } IDC_PACKET;
-
- /*
- ** public function prototypes
- */
- BOOL cs_card_present(USHORT);
- BOOL cs_is_modem_card(USHORT);
- USHORT cs_register_client(void);
- USHORT cs_acquire_resource(USHORT, USHORT, USHORT);
- USHORT cs_release_resource(USHORT, USHORT, USHORT);
- USHORT cs_get_num_of_sockets(void);
- BOOL cs_services_present(void);
-