IVsCodeShareHandler.VBDialogBoxParam Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Method on internal interface. Do not use.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function VBDialogBoxParam ( _
hinst As UInteger, _
dwId As UInteger, _
ByRef pFARPROC As UInteger, _
lp As Integer _
) As Integer
'使用
Dim instance As IVsCodeShareHandler
Dim hinst As UInteger
Dim dwId As UInteger
Dim pFARPROC As UInteger
Dim lp As Integer
Dim returnValue As Integer
returnValue = instance.VBDialogBoxParam(hinst, _
dwId, pFARPROC, lp)
int VBDialogBoxParam(
uint hinst,
uint dwId,
ref uint pFARPROC,
int lp
)
int VBDialogBoxParam(
[InAttribute] unsigned int hinst,
[InAttribute] unsigned int dwId,
[InAttribute] unsigned int% pFARPROC,
int lp
)
function VBDialogBoxParam(
hinst : uint,
dwId : uint,
pFARPROC : uint,
lp : int
) : int
Parameters
hinst
Type: System.UInt32[in]
dwId
Type: System.UInt32[in]
pFARPROC
Type: System.UInt32%[in]
lp
Type: System.Int32int
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsCodeShareHandler::VBDialogBoxParam(
[in] HINSTANCE hinst,
[in] DWORD dwId,
[in] DWORD* pFARPROC, LPARAM lp
);
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.