mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
732 B
24 lines
732 B
/* mdft.h -- run modal dialog from thread context (not). */
|
|
/* Copyright 1995 Spyglass, Inc. All Rights Reserved. */
|
|
/* Jeff Hostetler, Spyglass, Inc. 1995. */
|
|
|
|
#ifndef _H_MDFT_H_
|
|
#define _H_MDFT_H_
|
|
|
|
struct Params_mdft
|
|
{
|
|
struct Mwin * tw; /* used by mdft.c */
|
|
int * pStatus; /* place to put caller's status code */
|
|
int SemaphoreStatus;
|
|
void (*fn)(void *);
|
|
void * args;
|
|
unsigned char * msg1; /* status bar message */
|
|
struct Params_mdft *clone; /* so versions used by different threads
|
|
communicate across delay for PostMessage */
|
|
BOOL fDontDisable; // if true don't disable the window
|
|
};
|
|
|
|
|
|
int MDFT_RunModalDialog_Async(struct Mwin * tw, int nState, void **ppInfo);
|
|
|
|
#endif /* _H_MDFT_H_ */
|