source: trunk/src/advapi32/advapi32.h@ 4

Last change on this file since 4 was 4, checked in by ktk, 26 years ago

Import

File size: 1.5 KB
Line 
1/* $Id: advapi32.h,v 1.1 1999-05-24 20:19:33 ktk Exp $ */
2
3/*
4 * Win32 advanced API functions for OS/2
5 *
6 * 1998/06/12
7 *
8 * Copyright 1998 Sander van Leeuwen
9 * Copyright 1998 Patrick Haller
10 *
11 *
12 * Project Odin Software License can be found in LICENSE.TXT
13 *
14 */
15
16#ifndef __ADVAPI32_H__
17#define __ADVAPI32_H__
18
19//Why are the Open32 keys defined differently?
20#define WINHKEY_CLASSES_ROOT (( HKEY ) 0x80000000 )
21#define WINHKEY_CURRENT_USER (( HKEY ) 0x80000001 )
22#define WINHKEY_LOCAL_MACHINE (( HKEY ) 0x80000002 )
23#define WINHKEY_USERS (( HKEY ) 0x80000003 )
24#define WINHKEY_PERFORMANCE_DATA (( HKEY ) 0x80000004 )
25
26
27// IsTextUnicode
28#define IS_TEXT_UNICODE_ASCII16 0x0001
29#define IS_TEXT_UNICODE_REVERSE_ASCII16 0x0010
30
31#define IS_TEXT_UNICODE_STATISTICS 0x0002
32#define IS_TEXT_UNICODE_REVERSE_STATISTICS 0x0020
33
34#define IS_TEXT_UNICODE_CONTROLS 0x0004
35#define IS_TEXT_UNICODE_REVERSE_CONTROLS 0x0040
36
37#define IS_TEXT_UNICODE_SIGNATURE 0x0008
38#define IS_TEXT_UNICODE_REVERSE_SIGNATURE 0x0080
39
40#define IS_TEXT_UNICODE_ILLEGAL_CHARS 0x0100
41#define IS_TEXT_UNICODE_ODD_LENGTH 0x0200
42#define IS_TEXT_UNICODE_DBCS_LEADBYTE 0x0400
43#define IS_TEXT_UNICODE_NULL_BYTES 0x1000
44
45#define IS_TEXT_UNICODE_UNICODE_MASK 0x000F
46#define IS_TEXT_UNICODE_REVERSE_MASK 0x00F0
47#define IS_TEXT_UNICODE_NOT_UNICODE_MASK 0x0F00
48#define IS_TEXT_UNICODE_NOT_ASCII_MASK 0xF000
49
50
51#endif
Note: See TracBrowser for help on using the repository browser.