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.
 
 
 
 
 
 

47 lines
937 B

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 2002 -
//
// File: utils.hxx
//
// Contents: utilities
//
// History: LZhu Feb 1, 2002 Created
//
// Notes:
//
//--------------------------------------------------------------------------
#ifndef UTILS_HXX
#define UTILS_HXX
//
// General arrary count
//
#ifndef COUNTOF
#define COUNTOF(s) ( sizeof( (s) ) / sizeof( *(s) ) )
#endif // COUNTOF
NTSTATUS
KerbUnpackErrorData(
IN OUT PKERB_ERROR ErrorMessage,
IN OUT PKERB_EXT_ERROR * ExtendedError
);
KERBERR
TypedDataListPushFront(
IN OPTIONAL TYPED_DATA_Element* ErrorData,
IN KERB_TYPED_DATA* Data,
OUT ULONG* TypedDataListSize,
OUT UCHAR** TypedDataList
);
TYPED_DATA_Element*
TypedDataListFind(
IN OPTIONAL TYPED_DATA_Element* InputDataList,
IN LONG Type
);
#endif // UTILS_HXX