如何实现把一个目录共享?
用NetShareAdd函数,但是出现一下错误:error C2146: syntax error : missing ';' before identifier'NET_API_FUNCTION'
error C2501: 'NET_API_STATUS' : missing storage-class or type specifiers
error C1004: unexpected end of file found请问为什么?