/// <summary>
 /// Initializes a new instance of the <see cref="DismCapabilityInfo"/> class.
 /// </summary>
 /// <param name="capabilityInfo">A <see cref="DismApi.DismCapabilityInfo_"/> structure.</param>
 internal DismCapabilityInfo(DismApi.DismCapabilityInfo_ capabilityInfo)
 {
     _capabilityInfo = capabilityInfo;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DismCapabilityInfo" /> class.
 /// </summary>
 /// <param name="capabilityPtr">An <see cref="IntPtr" /> of a <see cref="DismApi.DismCapabilityInfo_" /> structure.</param>
 internal DismCapabilityInfo(IntPtr capabilityPtr)
 {
     _capabilityInfo = capabilityPtr.ToStructure <DismApi.DismCapabilityInfo_>();
 }