Diff

Not logged in

Differences From Artifact [ed15fe1b7afa0e8f]:

To Artifact [95dca8c0f3ce0fc0]:


4 4 * Windows API header module * 5 5 * * 6 6 * Translated from MinGW Windows headers * 7 7 * * 8 8 * Placed into public domain * 9 9 \***********************************************************************/ 10 10 module win32.lmshare; 11 +pragma(lib, "netapi"); 11 12 12 13 import win32.lmcons; 13 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 17 const SHARE_NETNAME_PARMNUM = 1; 25 18 const SHARE_TYPE_PARMNUM = 3; 26 19 const SHARE_REMARK_PARMNUM = 4; 27 20 const SHARE_PERMISSIONS_PARMNUM = 5; 28 21 const SHARE_MAX_USES_PARMNUM = 6; 29 22 const SHARE_CURRENT_USES_PARMNUM = 7;