Example #1
0
        public static int WindowsCreateStringReference(
            char *sourceString,
            uint length,
            global::System_Runtime_InteropServices.HSTRING_HEADER__System_Private_Interop *phstringHeader,
            void *hstring)
        {
            // Setup
            int unsafe___value;

            // Marshalling
            // Call to native method
            unsafe___value = global::__Interop.api_ms_win_core_winrt_string_l1_1_0_dll_PInvokes.WindowsCreateStringReference(
                ((ushort *)sourceString),
                length,
                ((global::System_Runtime_InteropServices.HSTRING_HEADER__System_Private_Interop *)phstringHeader),
                ((void *)hstring)
                );
            global::System.Diagnostics.DebugAnnotations.PreviousCallContainsDebuggerStepInCode();
            // Return
            return(unsafe___value);
        }
Example #2
0
 public extern static int WindowsCreateStringReference(
     ushort *sourceString,
     uint length,
     global::System_Runtime_InteropServices.HSTRING_HEADER__System_Private_Interop *phstringHeader,
     void *hstring);