helpers.h revision d2236df2116a3cbe8b17c567f4a9c2281733a956
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// PARTICULAR PURPOSE.
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// Helper functions for copying parameters and packaging the buffer
// for GetSerialization.
//
// Modifications (c) 2009 Sun Microsystems, Inc.
//
#pragma once
#include "common.h"
#include <windows.h>
#include <strsafe.h>
#include <shlwapi.h>
//makes a copy of a field descriptor using CoTaskMemAlloc
);
//makes a copy of a field descriptor on the normal heap
);
//creates a UNICODE_STRING from a normal string
);
//packages the credentials into the buffer that the system expects
const KERB_INTERACTIVE_LOGON& rkil,
);
//unpackages the "packed" version of the creds in-place into the "unpacked" version
);
//get the authentication package that will be used for our logon attempt
);