@@ -21,9 +21,9 @@ public enum ActivateOptions
2121 [ ComImport , Guid ( "2e941141-7f97-4756-ba1d-9decde894a3d" ) , InterfaceType ( ComInterfaceType . InterfaceIsIUnknown ) ]
2222 interface IApplicationActivationManager
2323 {
24- IntPtr ActivateApplication ( [ In ] String appUserModelId , [ In ] String arguments , [ In ] ActivateOptions options , [ Out ] out UInt32 processId ) ;
25- IntPtr ActivateForFile ( [ In ] String appUserModelId , [ In ] IntPtr /*IShellItemArray* */ itemArray , [ In ] String verb , [ Out ] out UInt32 processId ) ;
26- IntPtr ActivateForProtocol ( [ In ] String appUserModelId , [ In ] IntPtr /* IShellItemArray* */ itemArray , [ Out ] out UInt32 processId ) ;
24+ IntPtr ActivateApplication ( [ In ] string appUserModelId , [ In ] string arguments , [ In ] ActivateOptions options , [ Out ] out uint processId ) ;
25+ IntPtr ActivateForFile ( [ In ] string appUserModelId , [ In ] IntPtr /*IShellItemArray* */ itemArray , [ In ] string verb , [ Out ] out uint processId ) ;
26+ IntPtr ActivateForProtocol ( [ In ] string appUserModelId , [ In ] IntPtr /* IShellItemArray* */ itemArray , [ Out ] out uint processId ) ;
2727 }
2828
2929 // Application Activation Manager Class
@@ -32,13 +32,13 @@ public class ApplicationActivationManager : IApplicationActivationManager
3232 {
3333
3434 [ MethodImpl ( MethodImplOptions . InternalCall , MethodCodeType = MethodCodeType . Runtime ) /*, PreserveSig*/ ]
35- public extern IntPtr ActivateApplication ( [ In ] String appUserModelId , [ In ] String arguments , [ In ] ActivateOptions options , [ Out ] out UInt32 processId ) ;
35+ public extern IntPtr ActivateApplication ( [ In ] string appUserModelId , [ In ] string arguments , [ In ] ActivateOptions options , [ Out ] out uint processId ) ;
3636
3737 [ MethodImpl ( MethodImplOptions . InternalCall , MethodCodeType = MethodCodeType . Runtime ) ]
38- public extern IntPtr ActivateForFile ( [ In ] String appUserModelId , [ In ] IntPtr /*IShellItemArray* */ itemArray , [ In ] String verb , [ Out ] out UInt32 processId ) ;
38+ public extern IntPtr ActivateForFile ( [ In ] string appUserModelId , [ In ] IntPtr /*IShellItemArray* */ itemArray , [ In ] string verb , [ Out ] out uint processId ) ;
3939
4040 [ MethodImpl ( MethodImplOptions . InternalCall , MethodCodeType = MethodCodeType . Runtime ) ]
41- public extern IntPtr ActivateForProtocol ( [ In ] String appUserModelId , [ In ] IntPtr /* IShellItemArray* */ itemArray , [ Out ] out UInt32 processId ) ;
41+ public extern IntPtr ActivateForProtocol ( [ In ] string appUserModelId , [ In ] IntPtr /* IShellItemArray* */ itemArray , [ Out ] out uint processId ) ;
4242 }
4343 }
4444}
0 commit comments