Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

56 lines
1.8 KiB

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 2000
//
// File: pasrec.idl
//
//--------------------------------------------------------------------------
import "unknwn.idl";
import "basetsd.h";
////////////////////////////
// Interfaces
[
uuid(5cbe92cb-f4be-45c9-9fc9-33e73e557b20),
version(1.0),
pointer_default(unique)
]
interface PasswordRecovery
{
DWORD
SSRecoverQueryStatus(
[in] handle_t h,
[in,ptr][size_is(cbUserName)] BYTE* pbUserName,
[in] DWORD cbUserName,
[out, retval] DWORD* pcbRecoveryStatus);
DWORD
SSRecoverImportRecoveryKey(
[in] handle_t h,
[in,ptr][size_is(cbUsername)] BYTE* pbUsername,
[in] DWORD cbUsername,
[in,ptr][size_is(cbCurrentPassword)] BYTE* pbCurrentPassword,
[in] DWORD cbCurrentPassword,
[in,ptr][size_is(cbRecoveryPublic)] BYTE* pbRecoveryPublic,
[in] DWORD cbRecoveryPublic);
DWORD
SSRecoverPassword(
[in] handle_t h,
[in,ptr][size_is(cbUsername)] BYTE* pbUsername,
[in] DWORD cbUsername,
[in,ptr][size_is(cbRecoveryPrivate)] BYTE* pbRecoveryPrivate,
[in] DWORD cbRecoveryPrivate,
[in,ptr][size_is(cbPasswordData)] BYTE* pbPasswordData,
[in] DWORD cbPasswordData);
}