1 /** 2 * Windows API header module 3 * 4 * Translated from MinGW Windows headers 5 * 6 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) 7 * Source: $(DRUNTIMESRC core/sys/windows/_lmapibuf.d) 8 */ 9 module core.sys.windows.lmapibuf; 10 version (Windows): 11 pragma(lib, "netapi32"); 12 13 import core.sys.windows.lmcons, core.sys.windows.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 } 22