---
name: "RtlUnicodeStringToOemSize"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RtlUnicodeStringToOemSize"
---

# RtlUnicodeStringToOemSize(3w)

## NAME

**RtlUnicodeStringToOemSize** (NTDLL.@)

## SYNOPSIS

DWORD RtlUnicodeStringToOemSize\
  (\
   const UNICODE\_STRING\* *str*\
  )

## DESCRIPTION

Calculate the size in bytes necessary for the **OEM** conversion of *str*, including the terminating **' '**.

## PARAMS

*str* **\[In\]**  String to calculate the size of.

## RETURNS

The calculated size.

## IMPLEMENTATION

Declared in **"winternl.h"**.

Implemented in **"dlls/ntdll/rtlstr.c"**.

Debug channel **"ntdll"**.
