ULongLongToUShort function

Converts a value of type ULONGLONG to a value of type USHORT.

Syntax


HRESULT ULongLongToUShort(
  _In_  ULONGLONG ullOperand,
  _Out_ USHORT    *pusResult
);

Parameters

ullOperand [in]

The value to convert.

pusResult [out]

The converted value.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Intsafe.h

 

 

Show: