Desktop Functions: Smart Device Functions:
|
Search Results for "IntPtr" in [All]aygshell
static extern void DeleteArray(IntPtr ptr, IntPtr junk);
DeleteArray((IntPtr)xmlOutPointer, IntPtr.Zero); 2: SHFullScreen
static extern uint SHFullScreen(IntPtr hwndRequester, uint dwState);
Public Shared Function SHFullScreen( hWnd as IntPtr, flags as Integer ) as Integer static extern bool SHFullScreen(IntPtr hwndRequester, uint dwState); public static extern IntPtr GetCapture();
IntPtr hwnd = GetCapture();
public IntPtr hwndClient = IntPtr.Zero;
static bool RecognizeGesture(IntPtr hWnd, int x, int y)
static extern bool SHSipPreference(IntPtr hwnd, SIPSTATE st);
Declare Function SHSipPreference Lib "aygshell.dll" (hwnd as IntPtr, st as Integer) As Bool
static extern bool SHSipPreference(IntPtr hwnd, SIPSTATE st); 5: SndPlaySync
static extern IntPtr SndPlaySync(string Path, uint Flags);
IntPtr ip; Interfaces
int AddDesktopItemWithUI(IntPtr hwnd, ref COMPONENT pcomp, DtiAddUI dwFlags);
int GetDesktopItemByID(IntPtr dwID, ref COMPONENT pcomp, int dwReserved);
int AddUrl(IntPtr hwnd, [MarshalAs(UnmanagedType.LPWStr)] string pszSource, ref COMPONENT pcomp, AddURL dwFlags);
Function AddDesktopItemWithUI(ByVal hwnd As IntPtr, ByRef pcomp As COMPONENT, ByVal dwFlags As DtiAddUI) As Integer
Function GetDesktopItemByID(ByVal dwID As IntPtr, ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer
Function AddUrl(ByVal hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal pszSource As String, ByRef pcomp As COMPONENT, ByVal dwFlags As AddURL) As Integer 7: IADs
void Authenticate(IntPtr phwnd,
Sub Authenticate(IntPtr phwnd,
URLDownloadToFile(IntPtr.Zero, SourcePath , LocalPath ,0,(IBindStatusCallback)this);
public void Authenticate(IntPtr phwnd, ref string pszUsername, ref string pszPassword)
phwnd = IntPtr.Zero; 10: IAutoComplete2
IntPtr hwndEdit,
public IntPtr ptd;
public IntPtr data;
URLDownloadToFile(IntPtr.Zero, SourcePath , LocalPath ,0,(IBindStatusCallback)this);//use 0x10 for new download 12: IClassFactory
IntPtr GetLicInfo(); // TODO : an enum called LICINFO
Function GetLicInfo() As IntPtr
pServerInfo As IntPtr, TODO : specify struct to replace all IntPtr
CLSCTX.CLSCTX_LOCAL_SERVER, new System.IntPtr(),
IntPtr.Zero, GetType(IClassFactory2).GUID) 13: IClassFactory2
IntPtr GetLicInfo(); // TODO : an enum called LICINFO
Private Function GetLicInfo() As IntPtr TODO : specify struct to replace all IntPtr
CLSCTX.CLSCTX_LOCAL_SERVER, new System.IntPtr(), 14: IContextMenu
[PreserveSig] int HandleMenuMsg2( uint uMsg, uint wParam, uint lParam, IntPtr plResult ); 15: IContextMenu2
int QueryContextMenu(IntPtr hMenu, uint indexMenu, int idCmdFirst, int idCmdLast, uint uFlags);
void InvokeCommand(IntPtr pici);
int HandleMenuMsg(uint uMsg, IntPtr wParam, IntPtr lParam); 16: IContextMenu3
[PreserveSig] int HandleMenuMsg2( uint uMsg, uint wParam, uint lParam, IntPtr plResult ); 17: IDeskBand
int GetWindow(out IntPtr phwnd);
Public Overridable Sub ResizeBorderDW(prcBorder As IntPtr, punkToolbarSite As [Object], fReserved As Boolean) Implements IDeskBand.ResizeBorderDW, IDockingWindow.ResizeBorderDW
Public Overridable Sub GetWindow(ByRef phwnd As System.IntPtr) Implements IDeskBand.GetWindow, IDockingWindow.GetWindow, IOleWindow.GetWindow
Sub GetWindow(ByRef phwnd As System.IntPtr)
Sub GetWindow(ByRef phwnd As System.IntPtr)
Sub ResizeBorderDW(prcBorder As IntPtr, <[In], MarshalAs(UnmanagedType.IUnknown)> punkToolbarSite As [Object], fReserved As Boolean)
Sub GetWindow(ByRef phwnd As System.IntPtr)
Sub ResizeBorderDW(prcBorder As IntPtr, <[In](), MarshalAs(UnmanagedType.IUnknown)> punkToolbarSite As [Object], fReserved As Boolean)
Public hwnd As IntPtr 18: IDeskBand2
int GetWindow(out IntPtr phwnd);
Public Overridable Sub ResizeBorderDW(prcBorder As IntPtr, punkToolbarSite As [Object], fReserved As Boolean) Implements IDeskBand.ResizeBorderDW, IDockingWindow.ResizeBorderDW
Public Overridable Sub GetWindow(ByRef phwnd As System.IntPtr) Implements IDeskBand.GetWindow, IDockingWindow.GetWindow, IOleWindow.GetWindow
Sub GetWindow(ByRef phwnd As System.IntPtr)
Sub GetWindow(ByRef phwnd As System.IntPtr)
Sub ResizeBorderDW(prcBorder As IntPtr, <[In], MarshalAs(UnmanagedType.IUnknown)> punkToolbarSite As [Object], fReserved As Boolean)
Sub GetWindow(ByRef phwnd As System.IntPtr)
Sub ResizeBorderDW(prcBorder As IntPtr, <[In](), MarshalAs(UnmanagedType.IUnknown)> punkToolbarSite As [Object], fReserved As Boolean)
Public hwnd As IntPtr 19: IDocHostShowUI
uint ShowMessage(IntPtr hwnd,
uint ShowHelp(IntPtr hwnd, [MarshalAs(UnmanagedType.LPWStr)] string pszHelpFile,
Function ShowMessage(ByVal hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpstrText As String, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpstrCaption As String, ByVal dwType As Integer, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpstrHelpFile As String, ByVal dwHelpContext As Integer, ByRef lpResult As Integer) As Integer
Function ShowHelp(ByVal hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal pszHelpFile As String, ByVal uCommand As Integer, ByVal dwData As Integer, ByVal ptMouse As tagPoint, <MarshalAs(UnmanagedType.IDispatch)> ByVal pDispatchObjectHit As Object) As Integer
[In] IntPtr hwnd,
public IntPtr hbmpDragImage;
void DragEnter([In] IntPtr hwndTarget, [In, MarshalAs(UnmanagedType.Interface)] IDataObject_Com dataObject, [In] ref drawing.Point pt, [In] DragDropEffects effect); 22: IEnumIDList
uint Next(uint celt, out IntPtr rgelt, out IntPtr pceltFetched);
ByRef rgelt As IntPtr, _
ByRef pceltFetched As IntPtr) As Integer 23: IEnumWorkItems
int Next(uint celt, out IntPtr names,out uint namecount);
IntPtr namePtr;
IntPtr name = Marshal.ReadIntPtr(namePtr); 24: IExtractIcon
int Extract([MarshalAs(UnmanagedType.LPWStr)] string pszFile,uint nIconIndex,out IntPtr phiconLarge,out IntPtr phiconSmall,uint nIconSize);
out IntPtr phiconLarge,
out IntPtr phiconSmall,
ByVal szIconFile As IntPtr, _
Function Extract(ByVal pszFile As IntPtr, _
ByVal phiconLarge As IntPtr, _
ByVal phiconSmall As IntPtr, _ 25: IExtractImage
out IntPtr phBmpThumbnail);
Function Extract(<Out()> ByRef phBmpImage As IntPtr) As Integer
void GetEditBoxText ( [In] int dwIDCtl, [Out] IntPtr ppszText ); 27: IFileOpenDialog
int Show ( [In] IntPtr parent );
// Not supported: IShellItemFilter is not defined, converting to IntPtr
void SetFilter ( [MarshalAs ( UnmanagedType.Interface )] IntPtr pFilter ); 28: IFileSaveDialog
int Show ( [In] IntPtr parent );
// Not supported: IShellItemFilter is not defined, converting to IntPtr
void SetFilter ( [MarshalAs ( UnmanagedType.Interface )] IntPtr pFilter );
void SetProperties ( [In, MarshalAs ( UnmanagedType.Interface )] IntPtr pStore );
void SetCollectedProperties ( [In, MarshalAs ( UnmanagedType.Interface )] IntPtr pList, [In] int fAppendDefault );
void GetProperties ( [MarshalAs ( UnmanagedType.Interface )] out IntPtr ppStore );
[In, MarshalAs ( UnmanagedType.Interface )] IntPtr pStore,
[In, ComAliasName ( "ShellObjects.wireHWND" )] ref IntPtr hwnd,
[In, MarshalAs ( UnmanagedType.Interface )] IntPtr pSink ); 29: IFilter
IntPtr aAttributes,
// ref IntPtr ppPropValue
ref IntPtr PropVal);
ByVal aAttributes As IntPtr, _
ByRef PropVal As IntPtr _
' ByRef ppPropValue As IntPtr
IntPtr dwReserved);
int SetSecuritySite([In] IntPtr pSite);
int GetSecuritySite([Out] IntPtr pSite);
int SetSecuritySite([In] IntPtr pSite);
int GetSecuritySite([Out] IntPtr pSite);
Function SetSecuritySite(<[In]()> ByVal pSite As IntPtr) As <MarshalAs(UnmanagedType.I4)> Integer
Function GetSecuritySite(<[Out]()> ByVal pSite As IntPtr) As <MarshalAs(UnmanagedType.I4)> Integer
out IntPtr ppPolicy,
IntPtr pPolicy,
IntPtr pPolicy,
IntPtr pPolicy,
IntPtr pPolicy = Marshal.AllocHGlobal(8196);
ByRef ppPolicy As IntPtr,
ByVal pPolicy As IntPtr,
ByVal pPolicy As IntPtr,
ByVal pPolicy As IntPtr,
ByVal hwndParent As IntPtr,
Dim pPolicy As IntPtr = Marshal.AllocHGlobal(8196) 33: IKnownFolder
void GetFolderIds ( [Out] IntPtr ppKFId, [In, Out] ref uint pCount );
void FindFolderFromIDList ( [In] IntPtr pidl, [MarshalAs ( UnmanagedType.Interface )] out IKnownFolder ppkf );
void Redirect ( [In] ref Guid rfid, [In] IntPtr hwnd, [In] uint Flags,
void GetFolderIds ( [Out] IntPtr ppKFId, [In, Out] ref uint pCount );
void FindFolderFromIDList ( [In] IntPtr pidl, [MarshalAs ( UnmanagedType.Interface )] out IKnownFolder ppkf );
void Redirect ( [In] ref Guid rfid, [In] IntPtr hwnd, [In] uint Flags, 35: ILockBytes
void ReadAt(long ulOffset, System.IntPtr pv, int cb, out System.UInt32 pcbRead);
void WriteAt(long ulOffset, System.IntPtr pv, int cb, out System.UInt32 pcbWritten);
void ReadAt(long ulOffset, System.IntPtr pv, int cb, System.IntPtr pcbRead);
void WriteAt(long ulOffset, System.IntPtr pv, int cb, System.IntPtr pcbWritten);
Sub ReadAt(ByVal ulOffset As Long, ByVal pv As IntPtr, ByVal cv As Integer, <Out()> ByRef pcbRead As Integer)
Sub WriteAt(ByVal ulOffset As Long, ByVal pv As IntPtr, ByVal cb As Integer, <Out()> ByRef pcbWritten As Integer)
IntPtr pv = Marshal.AllocHGlobal(bufferSize); 36: IMalloc
IntPtr Alloc(
IntPtr Realloc(
[In] IntPtr pv,
[In] IntPtr pv);
[In] IntPtr pv);
[In] IntPtr pv);
<Runtime.InteropServices.PreserveSig()> Function Alloc(ByVal cb As UInt32) As IntPtr
<Runtime.InteropServices.PreserveSig()> Function Realloc(ByVal pv As IntPtr, ByVal cb As UInt32) As IntPtr
<Runtime.InteropServices.PreserveSig()> Sub Free(ByVal pv As IntPtr)
<Runtime.InteropServices.PreserveSig()> Function GetSize(ByVal pv As IntPtr) As UInt32
<Runtime.InteropServices.PreserveSig()> Function DidAlloc(ByVal pv As IntPtr) As Int16
[Out] IntPtr ppbPublicKey,
[Out] IntPtr ppbPublicKeyOrToken,
[Out] IntPtr ppbHashValue,
[Out] IntPtr ppbHashValue,
[In] ref IntPtr phEnum,
[In] ref IntPtr phEnum,
[In] ref IntPtr phEnum,
[In] ref IntPtr phEnum,
[In] IntPtr hEnum);
public IntPtr szLocale; // Locale.
public IntPtr rProcessor; // Processor ID array.
public IntPtr rOS; // OSINFO array.
IntPtr phEnum = IntPtr.Zero;
metaDataAssemblyImport.GetAssemblyRefProps(assemblyRefs[index], IntPtr.Zero, out cbPublicKeyOrToken, szName, Convert.ToUInt32(szName.Capacity), out chName, out aData, IntPtr.Zero, out cbHashValue, out dwAssemblyFlags);
[In] IntPtr pData, 39: IModalWindow
int Show ( [In] IntPtr parent );
int QueryStatus([In, MarshalAs(UnmanagedType.Struct)] ref Guid pguidCmdGroup, [MarshalAs(UnmanagedType.U4)] int cCmds, [In, Out]IntPtr prgCmds, [In, Out] IntPtr pCmdText);
void QueryStatus(ref Guid pguidCmdGroup, uint cCmds, [MarshalAs(UnmanagedType.LPArray), In, Out] OLECMD[] prgCmds, IntPtr pCmdText);
commandTarget.QueryStatus(ref FormControlCommandIds.CommandGroup, Convert.ToUInt16(commands.Length), commands, IntPtr.Zero); 41: IOleWindow
void GetWindow (out IntPtr phwnd) ;
Sub GetWindow(<System.Runtime.InteropServices.Out()> ByRef phwnd As IntPtr) 42: IProgressDialog
/// <param name="pvResevered">Reserved. Set to IntPtr.Zero</param>
IntPtr hwndParent, //HWND
IntPtr pvResevered //LPCVOID
IntPtr hInstAnimation, //HINSTANCE
/// <param name="pvResevered"> Reserved. Set to IntPtr.Zero.</param>
IntPtr pvResevered //LPCVOID
pd.StartProgressDialog(this.Handle, null, PROGDLG.Modal | PROGDLG.AutoTime | PROGDLG.NoMinimize, IntPtr.Zero);
pd.SetLine(1, "Line one", false, IntPtr.Zero);
pd.SetLine(2, "Line one", false, IntPtr.Zero);
[In] IntPtr pclsid,
int GetClassInfo(out IntPtr typeInfo); 45: IPStore
int GetInfo(IntPtr pProviderInfo);
int GetProvParam(uint dwParam, IntPtr pcbData, IntPtr ppbData, uint dwFlags);
int SetProvParam(uint dwParam, uint cbData, IntPtr ppbData, uint dwFlags);
int GetSubtypeInfo(PST_KEY key, ref Guid pType, ref Guid pSubtype, out IntPtr ppInfo, uint dwFlags);
int DeleteItem(PST_KEY key, ref Guid pItemType, ref Guid pItemSubtype, [MarshalAs(UnmanagedType.LPWStr)]string szItemName, IntPtr pPromptInfo, uint dwFlags);
int ReadItem(PST_KEY key, ref Guid pItemType, ref Guid pItemSubtype, [MarshalAs(UnmanagedType.LPWStr)]string szItemName, IntPtr pcbData, IntPtr ppbData,
IntPtr pPromptInfo, uint dwFlags);
int WriteItem(PST_KEY key, ref Guid pItemType, ref Guid pItemSubtype, [MarshalAs(UnmanagedType.LPWStr)]string szItemName, uint cbData, IntPtr pbData,
IntPtr pPromptInfo, uint dwDefaultConfirmationStyle, uint dwFlags);
int OpenItem(PST_KEY key, ref Guid pItemType, ref Guid pItemSubtype, [MarshalAs(UnmanagedType.LPWStr)]string szItemName, uint ModeFlags, IntPtr pPromptInfo, 46: IRichEditOle
void ImportDataObject(IDataObject lpdataobj, int cf, IntPtr hMetaPict);
int EditWorkItem( IntPtr hParent, 48: IServiceProvider
out IntPtr ppvObject); 49: ISharedBitmap
[Out] out IntPtr phbm
[Out] out IntPtr phbm
[In] IntPtr hbm, 50: IShellBrowser
void GetWindow(out IntPtr phwnd);
void InsertMenusSB(IntPtr IntPtrShared, IntPtr lpMenuWidths);
void SetMenuSB(IntPtr IntPtrShared, IntPtr holemenuRes,
IntPtr IntPtrActiveObject);
void RemoveMenusSB(IntPtr IntPtrShared);
void SetStatusTextSB(IntPtr pszStatusText);
void TranslateAcceleratorSB(IntPtr pmsg, UInt16 wID);
void BrowseObject(IntPtr pidl, UInt32 wFlags);
void GetViewStateStream(UInt32 grfMode, IntPtr ppStrm);
void GetControlWindow(UInt32 id, out IntPtr lpIntPtr);
void SendControlMsg(UInt32 id, UInt32 uMsg, UInt32 wParam, UInt32 lParam, IntPtr pret);
void SetToolbarItems(IntPtr lpButtons, UInt32 nButtons, UInt32 uFlags); 51: IShellExtInit
int Initialize (IntPtr pidlFolder, IntPtr lpdobj, uint /*HKEY*/ hKeyProgID);
Function Initialize(ByVal pidlFolder As IntPtr, ByVal lpdobj As IntPtr, ByVal hKeyProgID As IntPtr) As Integer 52: IShellFolder
void ParseDisplayName(IntPtr hwnd, IntPtr pbc, String pszDisplayName, UInt32 pchEaten, out IntPtr ppidl, UInt32 pdwAttributes);
void EnumObjects(IntPtr hwnd, ESHCONTF grfFlags, out IntPtr ppenumIDList);
void BindToObject(IntPtr pidl, IntPtr pbc, [In]ref Guid riid, out IntPtr ppv);
void BindToStorage(IntPtr pidl, IntPtr pbc, [In]ref Guid riid, out IntPtr ppv);
[PreserveSig]Int32 CompareIDs(Int32 lParam, IntPtr pidl1, IntPtr pidl2);
void CreateViewObject(IntPtr hwndOwner, [In] ref Guid riid, out IntPtr ppv);
void GetAttributesOf(UInt32 cidl, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)]IntPtr[] apidl, ref ESFGAO rgfInOut);
void GetUIObjectOf(IntPtr hwndOwner, UInt32 cidl, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)]IntPtr[] apidl, [In] ref Guid riid, UInt32 rgfReserved, out IntPtr ppv);
void GetDisplayNameOf(IntPtr pidl, ESHGDN uFlags, out STRRET pName);
void SetNameOf(IntPtr hwnd, IntPtr pidl, String pszName, ESHCONTF uFlags, out IntPtr ppidlOut);
public IntPtr pOleStr;
public IntPtr pStr; // LPSTR pStr; NOT USED 53: IShellItem
[Out] out IntPtr phbm);
Sub GetImage(ByVal size As SIZE, ByVal flags As SIIGBF, ByRef phbm As IntPtr)
IntPtr hbitmap = IntPtr.Zero;
SHCreateItemFromParsingName(filename, IntPtr.Zero, uuid, out ppsi); 54: IShellItemArray
void BindToHandler ( [In, MarshalAs ( UnmanagedType.Interface )] IntPtr pbc, [In] ref Guid rbhid,
[In] ref Guid riid, out IntPtr ppvOut );
void GetPropertyStore ( [In] int Flags, [In] ref Guid riid, out IntPtr ppv );
void GetPropertyDescriptionList ( [In] ref NativeMethods.PROPERTYKEY keyType, [In] ref Guid riid, out IntPtr ppv );
void EnumItems ( [MarshalAs ( UnmanagedType.Interface )] out IntPtr ppenumShellItems );
Function BindToHandler(<[In](), MarshalAs(UnmanagedType.[Interface])> pbc As IntPtr, <[In]()> rbhid As Guid, <[In]()> riid As Guid, ByRef ppvOut As IntPtr) As Integer
Function GetPropertyStore(<[In]()> Flags As Integer, <[In]()> riid As Guid, ByRef ppv As IntPtr) As Integer
Function GetPropertyDescriptionList(<[In]()> keyType As PROPERTYKEY, <[In]()> riid As Guid, ByRef ppv As IntPtr) As Integer
[Out] out IntPtr phbm);
Sub GetImage(ByVal size As SIZE, ByVal flags As SIIGBF, ByRef phbm As IntPtr)
IntPtr hbitmap = IntPtr.Zero;
SHCreateItemFromParsingName(filename, IntPtr.Zero, uuid, out ppsi); 56: IShellLinkA
void GetIDList(out IntPtr ppidl);
void SetIDList(IntPtr pidl);
void Resolve(IntPtr hwnd, UnsafeNativeMethods.SLR_FLAGS fFlags);
Sub GetIDList(ByRef ppidl As IntPtr)
Sub SetIDList(ByVal pidl As IntPtr)
Sub Resolve(ByVal hWnd As IntPtr, ByVal fFlags As UInteger) 57: IShellLinkW
void GetIDList(out IntPtr ppidl);
void SetIDList(IntPtr pidl);
void Resolve(IntPtr hwnd, UnsafeNativeMethods.SLR_FLAGS fFlags);
<PreserveSig()> Function GetIDList(ByRef ppidl As IntPtr) As HRESULT
<PreserveSig()> Function SetIDList(ByVal pidl As IntPtr) As HRESULT
<PreserveSig()> Function Resolve(ByVal hwnd As IntPtr, ByVal fFlags As Integer) As HRESULT
void AddDataBlock(IntPtr pDataBlock);
void CopyDataBlock(uint dwSig, out IntPtr ppDataBlock); 59: IStorage
/* [unique][in] */ IntPtr reserved1,
/* [unique][in] */ IntPtr snbExclude,
/* [unique][in] */ IntPtr snbExclude,
/* [size_is][unique][in] */ IntPtr reserved2,
ByVal reserved1 As IntPtr,
ByVal snbExclude As IntPtr,
ByVal snbExclude As IntPtr,
ByVal reserved2 As IntPtr, 60: IStream The Seek and CopyTo methods are documented as allowing NULL to be passed instead of output parameters, if the caller does not care what the result was. If you have consumers of your IStream that use it in this manner, you will need to replace the affected definitions with IntPtr values and use Marshal.WriteInt64() to assign them:
void Seek(long dlibMove, uint dwOrigin, IntPtr plibNewPosition);
if (plibNewPosition!= IntPtr.Zero) Cut off search results after 60. Please refine your search. |