home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / WIN_NT / LMAPI.ZIP / H / LMAPIBUF.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-07  |  1.1 KB  |  64 lines

  1. /*
  2.  
  3. Copyright (c) 1991-1993  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     lmapibuf.h
  8.  
  9. Abstract:
  10.  
  11.     This file contains information about NetApiBuffer APIs.
  12.  
  13. Notes:
  14.  
  15.     You must include LMCONS.H before this file, since this file depends
  16.     on values defined in LMCONS.H.
  17.  
  18. --*/
  19.  
  20. #ifndef _LMAPIBUF_
  21. #define _LMAPIBUF_
  22.  
  23. //
  24. // Function Prototypes
  25. //
  26.  
  27. NET_API_STATUS NET_API_FUNCTION
  28. NetApiBufferAllocate(
  29.     IN DWORD ByteCount,
  30.     OUT LPVOID * Buffer
  31.     );
  32.  
  33. NET_API_STATUS NET_API_FUNCTION
  34. NetApiBufferFree (
  35.     IN LPVOID Buffer
  36.     );
  37.  
  38. NET_API_STATUS NET_API_FUNCTION
  39. NetApiBufferReallocate(
  40.     IN LPVOID OldBuffer OPTIONAL,
  41.     IN DWORD NewByteCount,
  42.     OUT LPVOID * NewBuffer
  43.     );
  44.  
  45. NET_API_STATUS NET_API_FUNCTION
  46. NetApiBufferSize(
  47.     IN LPVOID Buffer,
  48.     OUT LPDWORD ByteCount
  49.     );
  50.  
  51.  
  52. //
  53. // The following private function will go away eventually.
  54. // Call NetApiBufferAllocate instead.
  55. //
  56. NET_API_STATUS NET_API_FUNCTION
  57. NetapipBufferAllocate (                 // Internal Function
  58.     IN DWORD ByteCount,
  59.     OUT LPVOID * Buffer
  60.     );
  61.  
  62. #endif // _LMAPIBUF_
  63. 
  64.