Annotation of mstools/h/lmapibuf.h, revision 1.1.1.1

1.1       root        1: /*++ BUILD Version: 0001    // Increment this if a change has global effects
                      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: Author:
                     14: 
                     15:     Dan Lafferty (Danl) 15-Mar-1991
                     16: 
                     17: Environment:
                     18: 
                     19:     User Mode - Win32
                     20: 
                     21: Notes:
                     22: 
                     23:     You must include LMCONS.H before this file, since this file depends
                     24:     on values defined in LMCONS.H.
                     25: 
                     26: Revision History:
                     27: 
                     28:     15-Mar-1991  Danl
                     29:         Attached NT-style header
                     30:     03-Dec-1991  JohnRo
                     31:         Added public NetApiBufferAllocate, NetApiBufferReallocate, and
                     32:         NetApiBufferSize APIs.
                     33: 
                     34: --*/
                     35: 
                     36: #ifndef _LMAPIBUF_
                     37: #define _LMAPIBUF_
                     38: 
                     39: #ifdef __cplusplus
                     40: extern "C" {
                     41: #endif
                     42: 
                     43: //
                     44: // Function Prototypes
                     45: //
                     46: 
                     47: NET_API_STATUS NET_API_FUNCTION
                     48: NetApiBufferAllocate(
                     49:     IN DWORD ByteCount,
                     50:     OUT LPVOID * Buffer
                     51:     );
                     52: 
                     53: NET_API_STATUS NET_API_FUNCTION
                     54: NetApiBufferFree (
                     55:     IN LPVOID Buffer
                     56:     );
                     57: 
                     58: NET_API_STATUS NET_API_FUNCTION
                     59: NetApiBufferReallocate(
                     60:     IN LPVOID OldBuffer OPTIONAL,
                     61:     IN DWORD NewByteCount,
                     62:     OUT LPVOID * NewBuffer
                     63:     );
                     64: 
                     65: NET_API_STATUS NET_API_FUNCTION
                     66: NetApiBufferSize(
                     67:     IN LPVOID Buffer,
                     68:     OUT LPDWORD ByteCount
                     69:     );
                     70: 
                     71: 
                     72: //
                     73: // The following private function will go away eventually.
                     74: // Call NetApiBufferAllocate instead.
                     75: //
                     76: NET_API_STATUS NET_API_FUNCTION
                     77: NetapipBufferAllocate (                 // Internal Function
                     78:     IN DWORD ByteCount,
                     79:     OUT LPVOID * Buffer
                     80:     );
                     81: 
                     82: #ifdef __cplusplus
                     83: }
                     84: #endif
                     85: 
                     86: #endif // _LMAPIBUF_

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.