Leaked source code of windows server 2003
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.
 
 
 
 
 
 

90 lines
1.6 KiB

/*
File: rpbk.h
Defines functions that operate on the router phonebook portions
of the mpr structures.
*/
#ifndef __MPRDIM_RPBK_H
#define __MPRDIM_RPBK_H
//
// Utilities
//
DWORD
RpbkGetPhonebookPath(
OUT PWCHAR* ppszPath);
DWORD
RpbkFreePhonebookPath(
IN PWCHAR pszPath);
//
// Entry api's
//
DWORD
RpbkOpenEntry(
IN ROUTER_INTERFACE_OBJECT* pIfObject,
OUT PHANDLE phEntry );
DWORD
RpbkCloseEntry(
IN HANDLE hEntry );
DWORD
RpbkSetEntry(
IN DWORD dwLevel,
IN LPBYTE pInterfaceData );
DWORD
RpbkDeleteEntry(
IN PWCHAR pszInterfaceName );
DWORD
RpbkEntryToIfDataSize(
IN HANDLE hEntry,
IN DWORD dwLevel,
OUT LPDWORD lpdwcbSizeOfData );
DWORD
RpbkEntryToIfData(
IN HANDLE hEntry,
IN DWORD dwLevel,
OUT LPBYTE pInterfaceData );
//
// Subentry api's
//
DWORD
RpbkOpenSubEntry(
IN ROUTER_INTERFACE_OBJECT* pIfObject,
IN DWORD dwIndex,
OUT PHANDLE phSubEntry );
DWORD
RpbkCloseSubEntry(
IN HANDLE hSubEntry );
DWORD
RpbkSetSubEntry(
IN PWCHAR pszInterface,
IN DWORD dwIndex,
IN DWORD dwLevel,
OUT LPBYTE pInterfaceData );
DWORD
RpbkSubEntryToDevDataSize(
IN HANDLE hSubEntry,
IN DWORD dwLevel,
OUT LPDWORD lpdwcbSizeOfData );
DWORD
RpbkSubEntryToDevData(
IN HANDLE hSubEntry,
IN DWORD dwLevel,
OUT LPBYTE pDeviceData );
#endif