home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / CMD / SVGAINST / DISPDCFG.H < prev    next >
Text File  |  1995-04-14  |  2KB  |  37 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. /* SCCSID = %%s %%s %%s */
  13.  
  14. /****************************************************************************/
  15. /*                                                                          */
  16. /*                                                                          */
  17. /*                                                                          */
  18. /****************************************************************************/
  19.  
  20.                                                  /* handle manager functions */
  21. typedef ULONG  HANDLE; /* h */
  22. typedef HANDLE *PHANDLE;
  23.  
  24. HANDLE AllocHandle(PVOID pObject, ULONG ulClass);
  25. PVOID  HandleToPointer(HANDLE hObject, ULONG ulClass);
  26. VOID   FreeHandle(HANDLE hObject, ULONG ulClass);
  27.  
  28.  
  29. VOID  InitHandleMgr(VOID);
  30. ULONG OpenDispConfig(PSZ pszDispCfg, HANDLE *phCfg, PSZ pszSep);
  31. VOID  CloseDispConfig(HANDLE hCfg);
  32.  
  33. ULONG GetFileTokOpen(HANDLE hCfg, PHANDLE phSearch);
  34. ULONG GetFileTokNext(HANDLE hSearch, PSZ *ppszTok);
  35. USHORT GetFileTokLine(HANDLE hSearch);
  36. VOID GetFileTokClose(HANDLE hSearch);
  37.