view win32/lmapibuf.d @ 3:47dd986a534e

version no fix
author marton@basel.hu
date Tue, 05 Apr 2011 20:56:40 +0200
parents 4a9dcbd9e54f
children
line wrap: on
line source

/***********************************************************************\
*                              lmapibuf.d                               *
*                                                                       *
*                       Windows API header module                       *
*                                                                       *
*                 Translated from MinGW Windows headers                 *
*                                                                       *
*                       Placed into public domain                       *
\***********************************************************************/
module win32.lmapibuf;
pragma(lib, "netapi32.lib");

private import win32.lmcons, win32.windef;

extern (Windows) {
	NET_API_STATUS NetApiBufferAllocate(DWORD, PVOID*);
	NET_API_STATUS NetApiBufferFree(PVOID);
	NET_API_STATUS NetApiBufferReallocate(PVOID, DWORD, PVOID*);
	NET_API_STATUS NetApiBufferSize(PVOID, PDWORD);
	NET_API_STATUS NetapipBufferAllocate(DWORD, PVOID*);
}