IOplockStorage.CreateStorageEx 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
'宣言
Sub CreateStorageEx ( _
pwcsName As String, _
grfMode As UInteger, _
stgfmt As UInteger, _
grfAttrs As UInteger, _
ByRef riid As Guid, _
<OutAttribute> ByRef ppstgOpen As IntPtr _
)
'使用
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.CreateStorageEx(pwcsName, grfMode, _
stgfmt, grfAttrs, riid, ppstgOpen)
void CreateStorageEx(
string pwcsName,
uint grfMode,
uint stgfmt,
uint grfAttrs,
ref Guid riid,
out IntPtr ppstgOpen
)
void CreateStorageEx(
[InAttribute] String^ pwcsName,
[InAttribute] unsigned int grfMode,
[InAttribute] unsigned int stgfmt,
[InAttribute] unsigned int grfAttrs,
[InAttribute] Guid% riid,
[OutAttribute] IntPtr% ppstgOpen
)
function CreateStorageEx(
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%
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.