mirror of https://github.com/tongzx/nt5src
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.
68 lines
1020 B
68 lines
1020 B
#ifndef _MAIN_H
|
|
#define _MAIN_H
|
|
|
|
//
|
|
// NT Headers
|
|
//
|
|
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
|
|
//
|
|
// Windows Headers
|
|
//
|
|
#include <windows.h>
|
|
#include <rpc.h>
|
|
|
|
//
|
|
// CRunTime Includes
|
|
//
|
|
#include <stdlib.h>
|
|
#include <limits.h>
|
|
#include <io.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
//
|
|
// ********** Other Includes
|
|
//
|
|
#include "memory.h"
|
|
#include "debug.h"
|
|
#include "msg.h"
|
|
#include "globals.h"
|
|
|
|
DWORD Client32CheckSchemaExtension(
|
|
PWSTR szServer,
|
|
PWSTR szContext,
|
|
PWSTR szUser,
|
|
PWSTR szPasswd,
|
|
BOOL *pfExtended
|
|
);
|
|
|
|
DWORD NWAPICheckSchemaExtension(
|
|
PWSTR szServer,
|
|
PWSTR szContext,
|
|
PWSTR szUser,
|
|
PWSTR szPasswd,
|
|
BOOL *pfExtended
|
|
);
|
|
|
|
DWORD NWAPIExtendSchema(
|
|
PWSTR szServer,
|
|
PWSTR szContext,
|
|
PWSTR szUser,
|
|
PWSTR szPasswd
|
|
);
|
|
|
|
DWORD Client32ExtendSchema(
|
|
PWSTR szServer,
|
|
PWSTR szContext,
|
|
PWSTR szUser,
|
|
PWSTR szPasswd
|
|
);
|
|
|
|
void SelectivePrint(DWORD messageID, ...);
|
|
void SelectivePrintWin32(DWORD dwError);
|
|
|
|
#endif
|
|
|