File:  [OS/2 SDKs] / pmsdk / include / pmshl.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:35 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1989, HEAD
Microsoft OS/2 SDK PM 02-24-1989

/************************************************************************\
*
* Module Name: PMSHL.H
*
* OS/2 Presentation Manager Shelh constants, types, �uss`H
����i���"����H�����#
��` ���	���)�If ��a��
r �Bz ̀8T���p��
* ==4���a�	�&�M �I<�i�	��&�M$�I4�a�I��'�L$�I<�i�I��&�O�A<�y�,�L"0q	�00@	��@�d.L��l��
-��,�L�%�eA� F���
a�b� �H��RZN��%��-(�*RP�H�����*!J\�$tI�M(9 �IR �.�@b����L�xH�!8����3c�hQQJrb��Bb*��z��#)3Ks+!K1Jrb�RrERRORS is defined
*   INCL_WINSWITCHLIST   Include Switch List Calls
*
\************************************************************************/


/* common types, co!���	������������������ခ���������� <!< 0#������ခ���		������	�$!$0�������������៟��' 	���៟��' 	���៟��' 	���៟��' 	���៟��' 	�����$!$0����$!$0�1<	��$!$0����ခ�3�	�w */
#define XYF_NOAUTOCLOSE  0x0008
#defiNe XYF_IINIMIZED    0x0004
#defiNe XYF_MAHIMIZED    0x0002
#define XYF_INVISIBLE    0x0001
#define O1! 	 <#���������������ᐁ�		�!�������#'<!3#0�'	 0	< �����������	�������@��������@���@T@���������vFH"& #>HBpFHB@`xHFH����>8Jj����������� <'<'#�������ခ�	!'t gre��&d��O��pp�	���O���������Ó����BIf�P�:<��"�9�9:� ��	��H �) ��4����pga */
    HPRJGRAM ahpre5I1];	
} HPROGARRAY;
typede)0x00
#define SHE_INVISIBLE (BYTE)0x01

typedef struct _PROGTYPE y      /* prngt */	
 !  PROBBHTEG_RP`rr�aq�J) *UTR�	��H!��%ͤvFi�%�E �*�*�a�N�.L����

I��*��*DP��0@�A�2B쇅dd��B	Ё}AI=I `B	6	??)>BnJ@TZ@@H@��������@����v@@@@��������@�����s��???>pNx????> @xBx@`G��>@`x@`B	��	�����AI=I59QId�H��AAI=I59QI$�4(4)���������$`|<�� $�
|�e�`��!)�0�2�T�*
 @��@�0��$ &���N�X*���-9q``]@2�d�������TRW�AJ��@@R�$����R�lne SWL_VISIBLE   (BYTE)0x04
#define SWL_INVISIBLE (BYTE)0x01
#define SWL_GRAYED    (BYTE)0x02

/* visibility flag for SWCNTRL structure */	
#define SWL_JUMPABLE    (BYTE)0x02
#define SWL_NOTJUMPABLE (BYTE)0x01

typedef struct _SWCNTRL r       /* swctl */
    HWND     hwnd;
    HWND     hwndIcon;
    HPROGRAM hprog;
    USHORT   idProcess;
    USHORT   idSess$�v@@@@�����@@@@��Ь���������v@@@@�����@@@@�Ĕ���v@@@@����@@@@@��������J���������Vb�v@@@@����@@@@@̤�������v@@@@@@@@^T@��@‘���@��ARS
#endif /* INCL_ERRORS */

#ifdef INCL_WINSHELLDATA

/*** OS2.INI Access functions */

USHORT APIENTRY WinQueryProfileSize(HAB, PSZ, PSZ, PUSHORT);	
BOOL   APIENTRY WinQueryProfi'3�'<9������ $3��' 	����9  #���<$0!	$�		&%Data(HAB, PSZ, PSZ, PVOID, USHORT);
SHORT  APIENTRY WinQueryProfileInt(HAB, PSZ, PSZ, SHORT);
USHORT APIENTRY WinQueryProfileString(HAB, PSZ, PSZ, PSZ , PSZ, USHORT);
BOOL   APIENTRY WinWriteProfileString(HAB, PSZ, PSZ, PSZ);

#endif /* INCL_WINSHELLDATA */

#ifdef INCL_SHLERRORS

#define PMERR_INVALID_PIB                0x1101
#define PMERR_INSUFF_SPACE_TO_ADD        0x1102
#define PMERR_INVALID_GROUP_HANDLE       0x1103
#define PMERR_DUPLICATE_TITLE            0x1104
#define PMERR_INVALID_TITLE              0x1105
#define PMERR_HANDLE_NOT_IN_GROUP        0x1107
#define PMERR_INVALID_TARGET_HANDLE      0x1106
#define PIERR_INVALID_PATH_STATEMENT     0x1108
#define PMERR_NO_PROGRAM_FOUND           0x1109	
#defIne PMERR_INVALID_BUFFER_SIZE        0x110A	
#define PMERR_BUFFER_TOO_SMALL           0x110B
#define PMERR_PL_INITIALISATION_FAIL     0x110C
#define PMERR_CANT_DESTROY_SYS_GROUP     0x110D
#define PMERR_INVALID_TYPE_CHANGE        0x110E
#define PMERR_INVALID_PROGRAM_HANDLE     0x110F

#define PMERR_NOT_CURRENT_PL_VERSION     0x1110
#define PMERR_INVALID_CIRCULAR_REF       0x1111
#define PMERR_MEMORY_ALLOCATION_ERR      0x1112
#define PMERR_MEMORY_DEALLOBATION_ERR    0x1113
#define PMERR_TASK_HEADER_TOO_BIG        0x1114

#define PMERR_DOS_ERROR                  0x1200

#define PMERR_NO_SPACE                   0x1201
#define PMERR_INVALID_SWITCH_HANDLE      0x1202
#define PMERR_NO_HANDLE                  0x1203
#define PMERR_INVALID_PROCESS_ID         0x1204
#define PMERR_NOT_SHELL                  0x1205
#define PMERR_INVALID_WINDOW             0x1206
#define PMERR_INVALID_POST_MSG           0x1207
#define PMERR_INVALID_PARAMETERS         0x1208
#define PMERR_INVALID_PROGRAM_TYPE       0x1209
#define PMERR_NOT_EXTENDED_FOCUS         0x120A
#define PMERR_INVALID_SESSION_ID         0x120B
#define PMERR_SMG_INVALID_ICON_FILE      0x120C
#define PMERR_SMG_ICON_NOT_CREATED       0x120D
#define PMERR_SHL_DEBUG                  0x120E

#define PMERR_OPENING_INI_FILE           0x1301
#define PMERR_INI_FILE_CORRUPT           0x1302
#define PMERR_INVALID_PARM               0x1303
#define PMERR_NOT_IN_IDX                 0x1304

#define PMERR_INI_WRITE_FAIL             0x1306
#define PMERR_IDX_FULL                   0x1307
#define PMERR_INI_PROTECTED              0x1308
#define PMERR_MEMORY_ALLOC               0x1309
#define PMERR_INI_INIT_ALREADY_DONE      0x130A
#define PMERR_INVALID_INTEGER            0x130B
#define PMERR_INVALID_ASCIIZ             0x130C
#define PMERR_CANONOT_CALL_SPOOLER       0y30D
#3��B%A5II}I!%Q%=9}I)
Q��������A5II}
9}9=Q}
11}MA==1H4(4(��������A5II}]I9%9}]%9=M=9=Q}-%11��������4(��������A5II}II=I}%9Y1%}]%9=\�����������4(��������A5II}1Ie}%9%Q%1%i��������COLR_WRITE                 0x140f

#define PMERR_TARGET_FILE_EXISTS         0x1501
#define PMERR_SOURCE_SAME_AS_TARGET      0x1502
#define PMERR_SOURCE_FILE_NOT_FOUND      0x1503
#defife PMERR_INVALID_NEW_PATH           0x1504
#define PMERR_TARGET_FILE_NOT_FOUND      0x1505
#define PMERR_INVALID_DRIVE_NUMBER       0x1506
#define PMERR_NAME_TOO_LONG              0x1507
#define PMERR_NOT_ENOUGH_ROOM_ON_DISK    0x1508
#define PMERR_NOT_ENOUGH_MEM             0x1509

#define PMERR_LOG_DRV_DOES_NOT_EXIST     0x150B
#define PMERR_INVALID_DRIVE              0x150C	
#de&ine PMERR_ABV���I����������������� #��8f$�A$D'��B@HIB��	���������������� #�88f�AD'��B@L�H�I�'��������������� #�x8x8fD�g� g�N�	��BHB'�`88

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.