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 42