public static extern bool hlPackageGetAttribute(HLPackageAttribute eAttribute, out HLAttribute pAttribute);
public static extern bool hlPackageGetItemAttribute(IntPtr pItem, HLPackageAttribute eAttribute, out HLAttribute pAttribute);
public static bool hlPackageGetAttribute(HLPackageAttribute eAttribute, out HLAttribute pAttribute) { if (IsWow64()) return x64.hlPackageGetAttribute(eAttribute, out pAttribute); else return x86.hlPackageGetAttribute(eAttribute, out pAttribute); }
public static extern string hlAttributeGetString(ref HLAttribute pAttribute);
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); }
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); }
public static extern int hlAttributeGetInteger(ref HLAttribute pAttribute);
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); }
public static extern bool hlAttributeGetBoolean(ref HLAttribute pAttribute);
public static extern float hlAttributeGetFloat(ref HLAttribute pAttribute);
public static extern void hlAttributeSetString(ref HLAttribute pAttribute, string lpName, string lpValue);
public static extern void hlAttributeSetInteger(ref HLAttribute pAttribute, string lpName, int iValue);
public static extern void hlAttributeSetFloat(ref HLAttribute pAttribute, string lpName, float fValue);
// // Attributes // public static bool hlAttributeGetBoolean(ref HLAttribute pAttribute) { if (IsWow64()) return x64.hlAttributeGetBoolean(ref pAttribute); else return x86.hlAttributeGetBoolean(ref pAttribute); }
public static extern IntPtr hlAttributeGetString(ref HLAttribute pAttribute);
public static float hlAttributeGetFloat(ref HLAttribute pAttribute) { if (IsWow64()) return x64.hlAttributeGetFloat(ref pAttribute); else return x86.hlAttributeGetFloat(ref pAttribute); }
public static extern uint hlAttributeGetUnsignedInteger(ref HLAttribute pAttribute);
public static uint hlAttributeGetUnsignedInteger(ref HLAttribute pAttribute) { if (IsWow64()) return x64.hlAttributeGetUnsignedInteger(ref pAttribute); else return x86.hlAttributeGetUnsignedInteger(ref pAttribute); }
public static extern void hlAttributeSetBoolean(ref HLAttribute pAttribute, [MarshalAs(UnmanagedType.LPStr)]string lpName, [MarshalAs(UnmanagedType.U1)]bool bValue);
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); }
public static extern void hlAttributeSetString(ref HLAttribute pAttribute, [MarshalAs(UnmanagedType.LPStr)]string lpName, [MarshalAs(UnmanagedType.LPStr)]string lpValue);
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); }
public static extern void hlAttributeSetUnsignedInteger(ref HLAttribute pAttribute, [MarshalAs(UnmanagedType.LPStr)]string lpName, uint uiValue, [MarshalAs(UnmanagedType.U1)]bool bHexadecimal);
public static bool hlPackageGetItemAttribute(IntPtr pItem, HLPackageAttribute eAttribute, out HLAttribute pAttribute) { if (IsWow64()) return x64.hlPackageGetItemAttribute(pItem, eAttribute, out pAttribute); else return x86.hlPackageGetItemAttribute(pItem, eAttribute, out pAttribute); }
public static string hlAttributeGetString(ref HLAttribute pAttribute) { if (IsWow64()) return x64.hlAttributeGetString(ref pAttribute); else return x86.hlAttributeGetString(ref pAttribute); }