Exemple #1
0
 public HRESULT LoadMenuID([NativeTypeName("LPCWSTR")] ushort *pszModuleName, [NativeTypeName("WORD")] ushort wResourceID, HMENU *phMenu)
 {
     return(((delegate * unmanaged <IProtectedModeMenuServices *, ushort *, ushort, HMENU *, int>)(lpVtbl[5]))((IProtectedModeMenuServices *)Unsafe.AsPointer(ref this), pszModuleName, wResourceID, phMenu));
 }
 public HRESULT GetMenu(HMENU *phmenu, HWND *phwnd, [NativeTypeName("DWORD *")] uint *pdwFlags)
 {
     return(((delegate * unmanaged <IShellMenu *, HMENU *, HWND *, uint *, int>)(lpVtbl[8]))((IShellMenu *)Unsafe.AsPointer(ref this), phmenu, phwnd, pdwFlags));
 }
Exemple #3
0
 public HRESULT CreateMenu(HMENU *phMenu)
 {
     return(((delegate * unmanaged <IProtectedModeMenuServices *, HMENU *, int>)(lpVtbl[3]))((IProtectedModeMenuServices *)Unsafe.AsPointer(ref this), phMenu));
 }