-
-BOOL
-WINAPI
-DeleteProfileW(
- _In_ LPCWSTR lpSidString,
- _In_opt_ LPCWSTR lpProfilePath,
- _In_opt_ LPCWSTR lpComputerName)
-{
- DPRINT1("DeleteProfileW() not implemented!\n");
- return FALSE;
-}
-
-
-BOOL
-WINAPI
-DeleteProfileA(
- _In_ LPCSTR lpSidString,
- _In_opt_ LPCSTR lpProfilePath,
- _In_opt_ LPCSTR lpComputerName)
-{
- BOOL bResult;
- UNICODE_STRING SidString, ProfilePath, ComputerName;
-
- DPRINT("DeleteProfileA() called\n");
-
- /* Conversion to UNICODE */
- if (lpSidString)
- RtlCreateUnicodeStringFromAsciiz(&SidString,
- (LPSTR)lpSidString);
-
- if (lpProfilePath)
- RtlCreateUnicodeStringFromAsciiz(&ProfilePath,
- (LPSTR)lpProfilePath);
-
- if (lpComputerName)
- RtlCreateUnicodeStringFromAsciiz(&ComputerName,
- (LPSTR)lpComputerName);
-
- /* Call the UNICODE function */
- bResult = DeleteProfileW(SidString.Buffer,
- ProfilePath.Buffer,
- ComputerName.Buffer);
-
- /* Memory cleanup */
- if (lpSidString)
- RtlFreeUnicodeString(&SidString);
-
- if (lpProfilePath)
- RtlFreeUnicodeString(&ProfilePath);
-
- if (lpComputerName)
- RtlFreeUnicodeString(&ComputerName);
-
- return bResult;
-}
-
-
-BOOL
-WINAPI
-GetProfileType(_Out_ PDWORD pdwFlags)
-{
- DPRINT1("GetProfileType() not implemented!\n");
- return FALSE;
-}
-