windows-nt/Source/XPSP1/NT/net/ias/providers/ntuser/inc/iasparms.h

84 lines
1.4 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1998, Microsoft Corp. All rights reserved.
//
// FILE
//
// iasparms.h
//
// SYNOPSIS
//
// Declares functions for storing and retrieving (name, value) pairs from
// the SAM UserParameters field.
//
// MODIFICATION HISTORY
//
// 10/16/1998 Original version.
// 02/11/1999 Add RasUser0 functions.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef _IASPARMS_H_
#define _IASPARMS_H_
#if _MSC_VER >= 1000
#pragma once
#endif
#ifndef IASSAMAPI
#define IASSAMAPI DECLSPEC_IMPORT
#endif
#include <mprapi.h>
#ifdef __cplusplus
extern "C" {
#endif
IASSAMAPI
DWORD
WINAPI
IASParmsSetRasUser0(
IN OPTIONAL PCWSTR pszOldUserParms,
IN CONST RAS_USER_0 *pRasUser0,
OUT PWSTR* ppszNewUserParms
);
IASSAMAPI
DWORD
WINAPI
IASParmsQueryRasUser0(
IN OPTIONAL PCWSTR pszUserParms,
OUT PRAS_USER_0 pRasUser0
);
IASSAMAPI
HRESULT
WINAPI
IASParmsSetUserProperty(
IN OPTIONAL PCWSTR pszUserParms,
IN PCWSTR pszName,
IN CONST VARIANT *pvarValue,
OUT PWSTR *ppszNewUserParms
);
IASSAMAPI
HRESULT
WINAPI
IASParmsQueryUserProperty(
IN PCWSTR pszUserParms,
IN PCWSTR pszName,
OUT VARIANT *pvarValue
);
IASSAMAPI
VOID
WINAPI
IASParmsFreeUserParms(
IN PWSTR pszNewUserParms
);
#ifdef __cplusplus
}
#endif
#endif // _IASPARMS_H_