螃
螃蟹
Unregistered / Unconfirmed
GUEST, unregistred user!
ret1, read, total: DWORD;
resume: ^Longword;
buff: pointer;
comment: array[0..254] of char;
// wserver: array[0..100] of widechar;
wserver:lpcwstr;
ret1 := NetLocalGroupEnum(wserver, DWORD(1), buff, DWORD(MAX_PREFERRED_LENGTH), @read, @total, @resume);
错误描述:type of actual and formal var parameters must be identical
NetLocalGroupEnum定义
function NetLocalGroupEnum(servername: LPCWSTR; level: DWORD; var bufptr: LPBYTE; prefmaxlen: DWORD; entriesread, totalentries: LPDWORD; resumehandle: PDWORD_PTR): NET_API_STATUS; stdcall;
{$EXTERNALSYM NetLocalGroupEnum}
大虾救救哦。
resume: ^Longword;
buff: pointer;
comment: array[0..254] of char;
// wserver: array[0..100] of widechar;
wserver:lpcwstr;
ret1 := NetLocalGroupEnum(wserver, DWORD(1), buff, DWORD(MAX_PREFERRED_LENGTH), @read, @total, @resume);
错误描述:type of actual and formal var parameters must be identical
NetLocalGroupEnum定义
function NetLocalGroupEnum(servername: LPCWSTR; level: DWORD; var bufptr: LPBYTE; prefmaxlen: DWORD; entriesread, totalentries: LPDWORD; resumehandle: PDWORD_PTR): NET_API_STATUS; stdcall;
{$EXTERNALSYM NetLocalGroupEnum}
大虾救救哦。