NetShareAdd(server, level, data)

Creates a new share.


server : string/PyUnicode

The name of the server, or None.

level : int

The information level contained in the data. Must be level 2 or 502.

data : mapping

A dictionary holding the share data, in the format of SHARE_INFO_*

Win32 API References

Search for NetShareAdd at msdn, google or google groups.