#include "reactos/ddk/iofuncs.h" /* self */
#include <glib/gmessages.h>
+#include "captive/unicode.h"
/**
g_return_val_if_fail(SymbolicLinkName!=NULL,STATUS_INVALID_PARAMETER);
g_return_val_if_fail(DeviceName!=NULL,STATUS_INVALID_PARAMETER);
+ g_log(G_LOG_DOMAIN,G_LOG_LEVEL_DEBUG,"%s: SymbolicLinkName=%s,DeviceName=%s",G_STRLOC,
+ captive_UnicodeString_to_utf8_alloca(SymbolicLinkName),
+ captive_UnicodeString_to_utf8_alloca(DeviceName));
+
+ if (!strcmp(captive_UnicodeString_to_utf8_alloca(SymbolicLinkName),"\\DosDevices\\AscKmd")
+ && !strcmp(captive_UnicodeString_to_utf8_alloca(DeviceName),"\\Device\\AscKmd"))
+ return STATUS_SUCCESS;
+ if (!strcmp(captive_UnicodeString_to_utf8_alloca(SymbolicLinkName),"\\DosDevices\\Secdrv")
+ && !strcmp(captive_UnicodeString_to_utf8_alloca(DeviceName),"\\Device\\Secdrv"))
+ return STATUS_SUCCESS;
+
return STATUS_NOT_IMPLEMENTED;
}