[]
Copies the contents of a managed String into unmanaged memory.
public static IntPtr StringToHGlobalUni(string s)
| Type | Name | Description |
|---|---|---|
| string | s | A managed string to be copied. |
| Type | Description |
|---|---|
| IntPtr | The address, in unmanaged memory, to where s was copied, or IntPtr.Zero if s is null. |