windows-nt/Source/XPSP1/NT/base/ntsetup/win95upg/common/regw32d/regknode.h

76 lines
1,009 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//
// REGKNODE.H
//
// Copyright (C) Microsoft Corporation, 1995
//
#ifndef _REGKNODE_
#define _REGKNODE_
int
INTERNAL
RgInitKeynodeInfo(
LPFILE_INFO lpFileInfo
);
int
INTERNAL
RgLockKeynode(
LPFILE_INFO lpFileInfo,
DWORD KeynodeIndex,
LPKEYNODE FAR* lplpKeynode
);
int
INTERNAL
RgLockInUseKeynode(
LPFILE_INFO lpFileInfo,
DWORD KeynodeIndex,
LPKEYNODE FAR* lplpKeynode
);
VOID
INTERNAL
RgUnlockKeynode(
LPFILE_INFO lpFileInfo,
DWORD KeynodeIndex,
BOOL fMarkDirty
);
int
INTERNAL
RgWriteKeynodes(
LPFILE_INFO lpFileInfo,
HFILE hSrcFile,
HFILE hDestFile
);
VOID
INTERNAL
RgWriteKeynodesComplete(
LPFILE_INFO lpFileInfo
);
VOID
INTERNAL
RgSweepKeynodes(
LPFILE_INFO lpFileInfo
);
int
INTERNAL
RgAllocKeynode(
LPFILE_INFO lpFileInfo,
LPDWORD lpKeynodeIndex,
LPKEYNODE FAR* lplpKeynode
);
int
INTERNAL
RgFreeKeynode(
LPFILE_INFO lpFileInfo,
DWORD KeynodeIndex
);
#endif // _REGKNODE_