home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / RTLWIN32.PAK / LMAPIBUF.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.3 KB  |  78 lines

  1. /*++ BUILD Version: 0001    // Increment this if a change has global effects
  2.  
  3. Copyright (c) 1991-1996  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     lmapibuf.h
  8.  
  9. Abstract:
  10.  
  11.     This file contains information about NetApiBuffer APIs.
  12.  
  13. Environment:
  14.  
  15.     User Mode - Win32
  16.  
  17. Notes:
  18.  
  19.     You must include LMCONS.H before this file, since this file depends
  20.     on values defined in LMCONS.H.
  21.  
  22. --*/
  23.  
  24. #ifndef _LMAPIBUF_
  25. #define _LMAPIBUF_
  26. #pragma option -b
  27.  
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31.  
  32. //
  33. // Function Prototypes
  34. //
  35.  
  36. NET_API_STATUS NET_API_FUNCTION
  37. NetApiBufferAllocate(
  38.     IN DWORD ByteCount,
  39.     OUT LPVOID * Buffer
  40.     );
  41.  
  42. NET_API_STATUS NET_API_FUNCTION
  43. NetApiBufferFree (
  44.     IN LPVOID Buffer
  45.     );
  46.  
  47. NET_API_STATUS NET_API_FUNCTION
  48. NetApiBufferReallocate(
  49.     IN LPVOID OldBuffer OPTIONAL,
  50.     IN DWORD NewByteCount,
  51.     OUT LPVOID * NewBuffer
  52.     );
  53.  
  54. NET_API_STATUS NET_API_FUNCTION
  55. NetApiBufferSize(
  56.     IN LPVOID Buffer,
  57.     OUT LPDWORD ByteCount
  58.     );
  59.  
  60.  
  61. //
  62. // The following private function will go away eventually.
  63. // Call NetApiBufferAllocate instead.
  64. //
  65. NET_API_STATUS NET_API_FUNCTION
  66. NetapipBufferAllocate (                 // Internal Function
  67.     IN DWORD ByteCount,
  68.     OUT LPVOID * Buffer
  69.     );
  70.  
  71. #ifdef __cplusplus
  72. }
  73. #endif
  74.  
  75. #pragma option -b.
  76.  
  77. #endif // _LMAPIBUF_
  78.