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.
53 lines
871 B
53 lines
871 B
/****************************** Module Header ******************************\
|
|
* Module Name: userinit.h
|
|
*
|
|
* Copyright (c) 1991, Microsoft Corporation
|
|
*
|
|
* Main header file for userinit
|
|
*
|
|
* History:
|
|
* 21-Aug-92 Davidc Created.
|
|
\***************************************************************************/
|
|
|
|
|
|
#ifndef RC_INVOKED
|
|
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
#endif
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
//
|
|
// Memory macros
|
|
//
|
|
|
|
#define Alloc(c) ((PVOID)LocalAlloc(LPTR, c))
|
|
#define ReAlloc(p, c) ((PVOID)LocalReAlloc(p, c, LPTR | LMEM_MOVEABLE))
|
|
#define Free(p) ((VOID)LocalFree(p))
|
|
|
|
|
|
//
|
|
// Define a debug print routine
|
|
//
|
|
|
|
#define UIPrint(s) KdPrint(("USERINIT: ")); \
|
|
KdPrint(s); \
|
|
KdPrint(("\n"));
|
|
|
|
|
|
|
|
//
|
|
// Prototypes
|
|
//
|
|
|
|
//
|
|
// netwait.c
|
|
//
|
|
|
|
BOOL
|
|
WaitForNetworkToStart(
|
|
VOID
|
|
);
|
|
|