Skip to content

Commit

Permalink
Version 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dsafa committed Sep 4, 2018
2 parents a21840e + fd0d4c0 commit f9da6d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CSDeskBand/CSDeskBandImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private void Options_PropertyChanged(object sender, System.ComponentModel.Proper
var parent = (IOleCommandTarget) _parentSite;
// Set pvaln to the id that was passed in SetSite
// When int is marshalled to variant, it is marshalled as VT_i4. See default marshalling for objects
parent.Exec(ref CGID_DeskBand, (uint) tagDESKBANDCID.DBID_BANDINFOCHANGED, 0, _id, null);
parent.Exec(ref CGID_DeskBand, (uint) tagDESKBANDCID.DBID_BANDINFOCHANGED, 0, IntPtr.Zero, IntPtr.Zero);
}

public int GetWindow(out IntPtr phwnd)
Expand Down
2 changes: 1 addition & 1 deletion src/CSDeskBand/Interop/COM/IOleCommandTarget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ internal interface IOleCommandTarget
void QueryStatus(ref Guid pguidCmdGroup, uint cCmds, [MarshalAs(UnmanagedType.LPArray), In, Out] OLECMD[] prgCmds, [In, Out] ref OLECMDTEXT pCmdText);

[PreserveSig]
int Exec(ref Guid pguidCmdGroup, uint nCmdID, uint nCmdExecOpt, ref object pvaIn, [In, Out] ref object pvaOut);
int Exec(ref Guid pguidCmdGroup, uint nCmdID, uint nCmdExecOpt, IntPtr pvaIn, [In, Out] IntPtr pvaOut);
}
}

0 comments on commit f9da6d4

Please sign in to comment.