ReactOS
0.4.16-dev-329-g9223134
mxfileobjectum.cpp
Go to the documentation of this file.
1
/*++
2
3
Copyright (c) Microsoft Corporation
4
5
ModuleName:
6
7
MxFileObjectUm.cpp
8
9
Abstract:
10
11
Implementation of MxFileObjectUm functions.
12
13
Author:
14
15
Revision History:
16
17
18
19
--*/
20
21
#include "Mx.h"
22
23
#include <
strsafe.h
>
24
25
#include "
fxmin.hpp
"
26
27
PUNICODE_STRING
28
MxFileObject::GetFileName
(
29
_Inout_opt_
PUNICODE_STRING
Filename
30
)
31
{
32
LPCWSTR
name
;
33
34
ASSERTMSG
(
"Filename parameter cannot be NULL\n"
,
Filename
!=
NULL
);
35
36
name
=
m_FileObject
->GetName();
37
RtlInitUnicodeString
(
Filename
,
name
);
38
39
return
Filename
;
40
}
41
MxFileObject::m_FileObject
MdFileObject m_FileObject
Definition:
mxfileobject.h:23
MxFileObject::GetFileName
PUNICODE_STRING GetFileName(_Inout_opt_ PUNICODE_STRING Filename)
Definition:
mxfileobjectkm.h:21
NULL
#define NULL
Definition:
types.h:112
Filename
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
Definition:
fatprocs.h:940
fxmin.hpp
_Inout_opt_
#define _Inout_opt_
Definition:
no_sal2.h:216
ASSERTMSG
#define ASSERTMSG(msg, exp)
Definition:
nt_native.h:431
RtlInitUnicodeString
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
strsafe.h
_UNICODE_STRING
Definition:
env_spec_w32.h:368
name
Definition:
name.c:39
LPCWSTR
const WCHAR * LPCWSTR
Definition:
xmlstorage.h:185
sdk
lib
drivers
wdf
shared
primitives
um
mxfileobjectum.cpp
Generated on Sun Dec 8 2024 06:14:00 for ReactOS by
1.9.6