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.
 
 
 
 
 
 

112 lines
2.1 KiB

/*++
Copyright (c) 1989 - 1999 Microsoft Corporation
Module Name:
ea.c
Abstract:
This module implements 'extended attributes' on a file handle
--*/
#include "precomp.h"
#pragma hdrstop
//
// The local debug trace level
//
#define Dbg (DEBUG_TRACE_EA)
#ifdef ALLOC_PRAGMA
#pragma alloc_text(PAGE, NulMRxQueryEaInformation)
#endif
//
// Extended Attributes (EA) functionality
//
NTSTATUS
NulMRxQueryEaInformation (
IN OUT PRX_CONTEXT RxContext
)
/*++
Routine Description:
This routine queries IFS for extended attributes like
scatter-gather list and filename for an IFS handle.
Arguments:
RxContext - the RDBSS context
Return Value:
RXSTATUS - The return status for the operation
Notes:
--*/
{
NTSTATUS Status = STATUS_SUCCESS;
RxCaptureFcb;
RxCaptureFobx;
RxCaptureParamBlock;
PMRX_SRV_OPEN pSrvOpen = capFobx->pSrvOpen;
PFILE_FULL_EA_INFORMATION pEaInfo = (PFILE_FULL_EA_INFORMATION) RxContext->Info.Buffer;
ULONG BufferLength = RxContext->Info.LengthRemaining;
ULONG UserEaListLength = RxContext->QueryEa.UserEaListLength;
PUCHAR UserEaList = RxContext->QueryEa.UserEaList;
PFILE_GET_EA_INFORMATION pGetEaInfo = (PFILE_GET_EA_INFORMATION) UserEaList;
NulMRxGetFcbExtension(capFcb,pFcbExtension);
PMRX_NET_ROOT pNetRoot = capFcb->pNetRoot;
NulMRxGetNetRootExtension(pNetRoot,pNetRootExtension);
RxTraceEnter("NulMRxQueryEaInformation");
PAGED_CODE();
RxDbgTrace(0, Dbg, ("Ea buffer len remaining is %d\n", RxContext->Info.LengthRemaining));
RxTraceLeave(Status);
return(Status);
}
NTSTATUS
NulMRxSetEaInformation (
IN OUT PRX_CONTEXT RxContext
)
/*++
Routine Description:
This routine sets the EA information for this FCB
Arguments:
RxContext - the RDBSS context
Return Value:
RXSTATUS - The return status for the operation
Notes:
--*/
{
PAGED_CODE();
UNREFERENCED_PARAMETER(RxContext);
DbgPrint("NulMRxSetEaInformation");
return STATUS_NOT_IMPLEMENTED;
}