Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
PROPSPEC (Structures)
.
C# Definition:
public enum PROPSPECIND : uint
[StructLayout(LayoutKind.Explicit)]
public struct PROPSPEC
{
LPWSTR = 0,
PROPID = 1
[FieldOffset(0)] public int ulKind; // 0 - string used; 1 - PROPID
[FieldOffset(4)] public int propid;
[FieldOffset(4)] public IntPtr lpwstr;
}
VB Definition:
#Region "PROPSPECKIND Enumeration Definition"
'/// <summary>
'/// Indicates whether the PROPSPEC propid or lpwstr member used.
'/// </summary>
Public Enum PROPSPECKIND
'/// <summary>
'/// Specifies that the the lpwstr member is used.
'/// </summary>
LPWSTR = 0
#Region "PROPSPEC Structure Definition"
'/// <summary>
'/// The PROPSPEC structure is used by many of the methods of IPropertyStorage to specify a property either by its property identifier (ID) or the associated string name.
'/// </summary>
<StructLayout(LayoutKind.Sequential)> _
Public Structure PROPSPEC
'/// <summary>
'/// Indicates whether the propid or lpwstr member used.
'/// </summary>
Public ulKind As PROPSPECKIND
'/// <summary>
'/// Specifies that the propid member is used.
'/// </summary>
PROPID = 1
End Enum
#End Region
User-Defined Field Types:
None.
'/// <summary>
'/// Specifies the value of the property ID. Use either this value or the following lpwstr, not both.
'/// </summary>
Public propid As UInt32
Notes:
None.
'/// <summary>
'/// Specifies the string name of the property as a null-terminated Unicode string.
'/// </summary>
Public lpwstr As IntPtr
End Structure
Enumerates the possible values of the propid member of the [PROPSPEC] structure. This is not part of Microsofts structured storage definitions, but an addition introduced for convenience.
3/16/2007 8:19:02 AM - okastrup-84.168.187.189
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.