IOplockStorage.OpenStorageEx Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Déclaration
Sub OpenStorageEx ( _
pwcsName As String, _
grfMode As UInteger, _
stgfmt As UInteger, _
grfAttrs As UInteger, _
ByRef riid As Guid, _
<OutAttribute> ByRef ppstgOpen As IntPtr _
)
'Utilisation
Dim instance As IOplockStorage
Dim pwcsName As String
Dim grfMode As UInteger
Dim stgfmt As UInteger
Dim grfAttrs As UInteger
Dim riid As Guid
Dim ppstgOpen As IntPtr
instance.OpenStorageEx(pwcsName, grfMode, _
stgfmt, grfAttrs, riid, ppstgOpen)
void OpenStorageEx(
string pwcsName,
uint grfMode,
uint stgfmt,
uint grfAttrs,
ref Guid riid,
out IntPtr ppstgOpen
)
void OpenStorageEx(
[InAttribute] String^ pwcsName,
[InAttribute] unsigned int grfMode,
[InAttribute] unsigned int stgfmt,
[InAttribute] unsigned int grfAttrs,
[InAttribute] Guid% riid,
[OutAttribute] IntPtr% ppstgOpen
)
abstract OpenStorageEx :
pwcsName:string *
grfMode:uint32 *
stgfmt:uint32 *
grfAttrs:uint32 *
riid:Guid byref *
ppstgOpen:IntPtr byref -> unit
function OpenStorageEx(
pwcsName : String,
grfMode : uint,
stgfmt : uint,
grfAttrs : uint,
riid : Guid,
ppstgOpen : IntPtr
)
Parameters
- pwcsName
Type: System.String
- grfMode
Type: System.UInt32
- stgfmt
Type: System.UInt32
- grfAttrs
Type: System.UInt32
- riid
Type: System.Guid%
- ppstgOpen
Type: System.IntPtr%
.NET Framework Security
- 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.