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