本文整理汇总了C#中HLAttribute类的典型用法代码示例。如果您正苦于以下问题:C# HLAttribute类的具体用法?C# HLAttribute怎么用?C# HLAttribute使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
HLAttribute类属于命名空间,在下文中一共展示了HLAttribute类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: hlPackageGetAttribute
public static extern bool hlPackageGetAttribute(HLPackageAttribute eAttribute, out HLAttribute pAttribute);
示例2: hlPackageGetItemAttribute
public static extern bool hlPackageGetItemAttribute(IntPtr pItem, HLPackageAttribute eAttribute, out HLAttribute pAttribute);
示例3: hlAttributeGetString
public static extern string hlAttributeGetString(ref HLAttribute pAttribute);
示例4: hlAttributeSetBoolean
public static void hlAttributeSetBoolean(ref HLAttribute pAttribute, string lpName, bool bValue)
{
if (IsWow64()) x64.hlAttributeSetBoolean(ref pAttribute, lpName, bValue); else x86.hlAttributeSetBoolean(ref pAttribute, lpName, bValue);
}
示例5: hlAttributeSetString
public static void hlAttributeSetString(ref HLAttribute pAttribute, string lpName, string lpValue)
{
if (IsWow64()) x64.hlAttributeSetString(ref pAttribute, lpName, lpValue); else x86.hlAttributeSetString(ref pAttribute, lpName, lpValue);
}
示例6: hlAttributeGetInteger
public static extern int hlAttributeGetInteger(ref HLAttribute pAttribute);
示例7: hlAttributeGetString
public static string hlAttributeGetString(ref HLAttribute pAttribute)
{
IntPtr lpString;
if (IsWow64()) lpString = x64.hlAttributeGetString(ref pAttribute); else lpString = x86.hlAttributeGetString(ref pAttribute);
return lpString == IntPtr.Zero ? string.Empty : Marshal.PtrToStringAnsi(lpString);
}
示例8: hlAttributeGetBoolean
public static extern bool hlAttributeGetBoolean(ref HLAttribute pAttribute);
示例9: hlAttributeGetFloat
public static extern float hlAttributeGetFloat(ref HLAttribute pAttribute);
示例10: hlAttributeSetString
public static extern void hlAttributeSetString(ref HLAttribute pAttribute, string lpName, string lpValue);
示例11: hlAttributeSetInteger
public static extern void hlAttributeSetInteger(ref HLAttribute pAttribute, string lpName, int iValue);
示例12: hlAttributeSetFloat
public static extern void hlAttributeSetFloat(ref HLAttribute pAttribute, string lpName, float fValue);
示例13: hlAttributeGetUnsignedInteger
public static extern uint hlAttributeGetUnsignedInteger(ref HLAttribute pAttribute);
示例14: hlAttributeSetInteger
public static void hlAttributeSetInteger(ref HLAttribute pAttribute, string lpName, int iValue)
{
if (IsWow64()) x64.hlAttributeSetInteger(ref pAttribute, lpName, iValue); else x86.hlAttributeSetInteger(ref pAttribute, lpName, iValue);
}
示例15: hlAttributeSetUnsignedInteger
public static void hlAttributeSetUnsignedInteger(ref HLAttribute pAttribute, string lpName, uint uiValue, bool bHexadecimal)
{
if (IsWow64()) x64.hlAttributeSetUnsignedInteger(ref pAttribute, lpName, uiValue, bHexadecimal); else x86.hlAttributeSetUnsignedInteger(ref pAttribute, lpName, uiValue, bHexadecimal);
}