As you might know after right click a folder and choose "Share with" -> "Specific people" windows will pop up a dialog named "File Sharing" and let you choose user account/permission.
My question is: Is there any way to pop up this dialog by programming?
I've found a solution, using ShowShareFolderUI on ntshrui.dll can do this job
See this link on MSDN