1 /***********************************************************************\ 2 * lmapibuf.d * 3 * * 4 * Windows API header module * 5 * * 6 * Translated from MinGW Windows headers * 7 * * 8 * Placed into public domain * 9 \***********************************************************************/ 10 module win32.lmapibuf; 11 pragma(lib, "netapi32.lib"); 12 13 private import win32.lmcons, win32.windef; 14 15 extern (Windows) { 16 NET_API_STATUS NetApiBufferAllocate(DWORD, PVOID*); 17 NET_API_STATUS NetApiBufferFree(PVOID); 18 NET_API_STATUS NetApiBufferReallocate(PVOID, DWORD, PVOID*); 19 NET_API_STATUS NetApiBufferSize(PVOID, PDWORD); 20 NET_API_STATUS NetapipBufferAllocate(DWORD, PVOID*); 21 }