summaryrefslogtreecommitdiffstats
path: root/private/mvdm/wow32/wole2.h
blob: 2725c0f7ce9acf7b27758cb638c374df3fb92c33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*++ BUILD Version: 0001
 *
 *  WOW v1.0
 *
 *  Copyright (c) 1991, Microsoft Corporation
 *
 *  WOLE2.H
 *  WOW32 16-bit OLE2 special stuff
 *
 *  History:
 *  Created 04-May-1994 by Bob Day (bobday)
--*/

#define ISTASKALIAS(htask16)    (((htask16) & 0x4) == 0 && (htask16 <= 0xffe0) && (htask16))

/* Function prototypes
 */
HTASK16 AddHtaskAlias( DWORD ThreadID32 );
HTASK16 FindHtaskAlias( DWORD ThreadID32 );
void RemoveHtaskAlias( HTASK16 htask16 );
DWORD GetHtaskAlias( HTASK16 htask16, LPDWORD lpdwProcessID32 );
UINT GetHtaskAliasProcessName( HTASK16 htask16, LPSTR lpNameBuffer, UINT cNameBufferSize );

extern UINT cHtaskAliasCount;