Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than kernel32, prefix the name with the module name and a period.
<DllImport("kernel32.dll")> _
Private Shared Function CreateSymbolicLink(ByVal lpSymlinkFileName As String, ByVal lpTargetFileName As String, ByVal dwFlags As SYMBOLIC_LINK_FLAG) As Boolean
End Function
The unmanaged prototype contains a return directive because the CreateSymbolicLink API function returns BOOLEAN, a one-byte data type. The default marshaling for bool is four bytes (to allow seamless integration with BOOL return values). If you were to use the default marshaling for BOOLEAN values, it's likely that you will get erroneous results. The return directive forces PInvoke to marshal just one byte of the return value. Source: http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=762&ns=16196
None.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Used with the CreateSymbolicLink function.
7/10/2009 7:31:02 PM - -74.46.19.88
TODO - a short description of this collection of constants
4/6/2012 12:59:20 AM - anonymous
Creates a symbolic link in the filesystem. Requires Vista or higher. Requires administrator access.
9/22/2009 3:24:46 AM - -74.46.19.88
The mechanism provided by the CLR that enables managed code to call static DLL exports.
3/15/2016 1:24:19 AM - -84.164.4.39
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).