Example #1
0
 public static extern bool hlPackageGetAttribute(HLPackageAttribute eAttribute, out HLAttribute pAttribute);
Example #2
0
 public static extern bool hlPackageGetItemAttribute(IntPtr pItem, HLPackageAttribute eAttribute, out HLAttribute pAttribute);
Example #3
0
 public static bool hlPackageGetAttribute(HLPackageAttribute eAttribute, out HLAttribute pAttribute)
 {
     if (IsWow64()) return x64.hlPackageGetAttribute(eAttribute, out pAttribute); else return x86.hlPackageGetAttribute(eAttribute, out pAttribute);
 }
Example #4
0
 public static extern string hlAttributeGetString(ref HLAttribute pAttribute);
Example #5
0
 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);
 }
Example #6
0
 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);
 }
Example #7
0
 public static extern int hlAttributeGetInteger(ref HLAttribute pAttribute);
Example #8
0
 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);
 }
Example #9
0
 public static extern bool hlAttributeGetBoolean(ref HLAttribute pAttribute);
Example #10
0
 public static extern float hlAttributeGetFloat(ref HLAttribute pAttribute);
Example #11
0
 public static extern void hlAttributeSetString(ref HLAttribute pAttribute, string lpName, string lpValue);
Example #12
0
 public static extern void hlAttributeSetInteger(ref HLAttribute pAttribute, string lpName, int iValue);
Example #13
0
 public static extern void hlAttributeSetFloat(ref HLAttribute pAttribute, string lpName, float fValue);
Example #14
0
 //
 // Attributes
 //
 public static bool hlAttributeGetBoolean(ref HLAttribute pAttribute)
 {
     if (IsWow64()) return x64.hlAttributeGetBoolean(ref pAttribute); else return x86.hlAttributeGetBoolean(ref pAttribute);
 }
Example #15
0
 public static extern IntPtr hlAttributeGetString(ref HLAttribute pAttribute);
Example #16
0
 public static float hlAttributeGetFloat(ref HLAttribute pAttribute)
 {
     if (IsWow64()) return x64.hlAttributeGetFloat(ref pAttribute); else return x86.hlAttributeGetFloat(ref pAttribute);
 }
Example #17
0
 public static extern uint hlAttributeGetUnsignedInteger(ref HLAttribute pAttribute);
Example #18
0
 public static uint hlAttributeGetUnsignedInteger(ref HLAttribute pAttribute)
 {
     if (IsWow64()) return x64.hlAttributeGetUnsignedInteger(ref pAttribute); else return x86.hlAttributeGetUnsignedInteger(ref pAttribute);
 }
Example #19
0
 public static extern void hlAttributeSetBoolean(ref HLAttribute pAttribute, [MarshalAs(UnmanagedType.LPStr)]string lpName, [MarshalAs(UnmanagedType.U1)]bool bValue);
Example #20
0
 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);
 }
Example #21
0
 public static extern void hlAttributeSetString(ref HLAttribute pAttribute, [MarshalAs(UnmanagedType.LPStr)]string lpName, [MarshalAs(UnmanagedType.LPStr)]string lpValue);
Example #22
0
 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);
 }
Example #23
0
 public static extern void hlAttributeSetUnsignedInteger(ref HLAttribute pAttribute, [MarshalAs(UnmanagedType.LPStr)]string lpName, uint uiValue, [MarshalAs(UnmanagedType.U1)]bool bHexadecimal);
Example #24
0
 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);
 }
Example #25
0
File: HLLib.cs Project: Rupan/HLLib
 public static string hlAttributeGetString(ref HLAttribute pAttribute)
 {
     if (IsWow64()) return x64.hlAttributeGetString(ref pAttribute); else return x86.hlAttributeGetString(ref pAttribute);
 }