ntoskrnl: Implemented IoDeleteSymbolicLink.
This commit is contained in:
parent
ba71579809
commit
0b560febea
1 changed files with 22 additions and 2 deletions
|
@ -543,8 +543,28 @@ NTSTATUS WINAPI IoCreateSymbolicLink( UNICODE_STRING *name, UNICODE_STRING *targ
|
|||
*/
|
||||
NTSTATUS WINAPI IoDeleteSymbolicLink( UNICODE_STRING *name )
|
||||
{
|
||||
FIXME( "%s\n", debugstr_us(name) );
|
||||
return STATUS_SUCCESS;
|
||||
HANDLE handle;
|
||||
OBJECT_ATTRIBUTES attr;
|
||||
NTSTATUS status;
|
||||
|
||||
attr.Length = sizeof(attr);
|
||||
attr.RootDirectory = 0;
|
||||
attr.ObjectName = name;
|
||||
attr.Attributes = OBJ_CASE_INSENSITIVE;
|
||||
attr.SecurityDescriptor = NULL;
|
||||
attr.SecurityQualityOfService = NULL;
|
||||
|
||||
if (!(status = NtOpenSymbolicLinkObject( &handle, 0, &attr )))
|
||||
{
|
||||
SERVER_START_REQ( unlink_object )
|
||||
{
|
||||
req->handle = handle;
|
||||
status = wine_server_call( req );
|
||||
}
|
||||
SERVER_END_REQ;
|
||||
NtClose( handle );
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue