Diff

Not logged in

Differences From Artifact [ed15fe1b7afa0e8f]:

To Artifact [95dca8c0f3ce0fc0]:


4 * Windows API header module * 4 * Windows API header module * 5 * * 5 * * 6 * Translated from MinGW Windows headers * 6 * Translated from MinGW Windows headers * 7 * * 7 * * 8 * Placed into public domain * 8 * Placed into public domain * 9 \***********************************************************************/ 9 \***********************************************************************/ 10 module win32.lmshare; 10 module win32.lmshare; > 11 pragma(lib, "netapi"); 11 12 12 import win32.lmcons; 13 import win32.lmcons; 13 private import win32.w32api, win32.windef; 14 private import win32.w32api, win32.windef; 14 15 15 static if (_WIN32_WINNT_ONLY) { < 16 pragma(lib, "netapi.lib"); < 17 } < 18 /* else { < 19 // only for WinME, 98, 95. < 20 pragma(lib, "svrapi.lib") < 21 } < 22 */ < 23 16 24 const SHARE_NETNAME_PARMNUM = 1; 17 const SHARE_NETNAME_PARMNUM = 1; 25 const SHARE_TYPE_PARMNUM = 3; 18 const SHARE_TYPE_PARMNUM = 3; 26 const SHARE_REMARK_PARMNUM = 4; 19 const SHARE_REMARK_PARMNUM = 4; 27 const SHARE_PERMISSIONS_PARMNUM = 5; 20 const SHARE_PERMISSIONS_PARMNUM = 5; 28 const SHARE_MAX_USES_PARMNUM = 6; 21 const SHARE_MAX_USES_PARMNUM = 6; 29 const SHARE_CURRENT_USES_PARMNUM = 7; 22 const SHARE_CURRENT_USES_PARMNUM = 7;