MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / FromString

Method FromString

src/Squirrel/ShellFile.cs:63–71  ·  view source on GitHub ↗
(string str)

Source from the content-addressed store, hash-verified

61 public IntPtr pointerValue;
62
63 public static PropVariant FromString(string str)
64 {
65 var pv = new PropVariant() {
66 variantType = 31, // VT_LPWSTR
67 pointerValue = Marshal.StringToCoTaskMemUni(str),
68 };
69
70 return pv;
71 }
72
73 public static PropVariant FromGuid(Guid guid)
74 {

Callers 1

SetAppUserModelIdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected