Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

PROPSPEC (Structures)
 
.
Summary
TODO - a short description

C# Definition:

[StructLayout(LayoutKind.Explicit)]
public struct PROPSPEC
{
     [FieldOffset(0)] public int ulKind;     // 0 - string used; 1 - PROPID
     [FieldOffset(4)] public int propid;    
     [FieldOffset(4)] public IntPtr lpwstr;
}

VB Definition:

#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 the value of the property ID. Use either this value or the following lpwstr, not both.
    '/// </summary>
    Public propid As UInt32

    '/// <summary>
    '/// Specifies the string name of the property as a null-terminated Unicode string.
    '/// </summary>
    Public lpwstr As IntPtr
  End Structure

#End Region

User-Defined Field Types:

PROPSPECKIND

Notes:

None.

Documentation
PROPSPEC on MSDN

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.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions