Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Find out the new features and enhancements added in Silverlight 5.

Moderators

Top Categories · View All
Controls Enhancements 11
Text Enhancements 3
Trusted Applications Features 2

Browse by Tags · View All
Silverlight 5 16
Controls 11
Text Enhancements 3
RichTextBlockOverflow 2
RichTextblock 2
CharacterSpacing 1
UpdateSourceTrigger 1
PropertyChanged 1
Out Of Browser Features 1
P/Invoke 1
Multiple Windows 1
Trusted Applications 1
Styles 1
Relative Source Binding 1
PivotViewer 1
Custom Markup Extensions 1
Implicit Data Templates 1
Data Templates 1
Debugging 1
Debugging in XAML 1

Browse by Release · View All
All 15
RC 1

What is new in Silverlight 5

Silverlight 5 - P/Invoke support for Out of Browser Applications

Dec 18 2011 3:22AM by Ramireddy   

Win32 API has thousands of utlitity fuctions which will do a lot of range of tasks. From C# manage code, we can call these native functions. Now Silverlight 5 also started to support calling native code from manged code.

This support if only for OOB application having elevated trust.

Suppose, one of the function in Win32 API is, "MessageBox". We can call this function like below.

  1. Declare the function like below

     [DllImport("User32.dll")]  
     public static extern int MessageBox(int ParentWindow, string MsgText, string MsgTitle, int type);[DllImport("User32.dll")]
    
  2. Now call this function like below..

    MessageBox(0, "Win32 Message Box", "PInvoke Support", 0);
    

alt text

Read More Have you written a blog post or article related to this feature and want to get them added here? Read More...
Category : Trusted Applications Features
Release : All
Tags : Silverlight 5,P/Invoke,Out Of Browser Features


Ramireddy
2 · 41% · 12972
1



Submit

Your Comment


Sign Up or Login to post a comment.

"Silverlight 5 - P/Invoke support for Out of Browser Applications" rated 5 out of 5 by 1 readers
Silverlight 5 - P/Invoke support for Out of Browser Applications , 5.0 out of 5 based on 1 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]