Win32 API 日本語リファレンス
ホームNetworkManagement.MobileBroadband › MBN_COMPRESSION

MBN_COMPRESSION

列挙型
基底型i4

メンバー 2

名前10進16進説明
MBN_COMPRESSION_NONE00x0データヘッダーは圧縮されません。
MBN_COMPRESSION_ENABLE10x1データヘッダーは圧縮されます。

公式ドキュメント

重要

Windows 10 バージョン 1803 以降、このセクションで説明する Win32 API は、Windows.Networking.Connectivity 名前空間の Windows ランタイム API に置き換えられています。

MBN_COMPRESSION 列挙型は、ヘッダーおよびデータについて、データリンクで圧縮を使用するかどうかを指定します。

この型は GSM デバイスにのみ適用されます。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum MBN_COMPRESSION : int {
    MBN_COMPRESSION_NONE = 0,
    MBN_COMPRESSION_ENABLE = 1
} MBN_COMPRESSION;
public enum MBN_COMPRESSION : int
{
    MBN_COMPRESSION_NONE = 0,
    MBN_COMPRESSION_ENABLE = 1,
}
Public Enum MBN_COMPRESSION As Integer
    MBN_COMPRESSION_NONE = 0
    MBN_COMPRESSION_ENABLE = 1
End Enum
import enum

class MBN_COMPRESSION(enum.IntEnum):
    MBN_COMPRESSION_NONE = 0
    MBN_COMPRESSION_ENABLE = 1
// MBN_COMPRESSION
pub const MBN_COMPRESSION_NONE: i32 = 0;
pub const MBN_COMPRESSION_ENABLE: i32 = 1;
// MBN_COMPRESSION
const (
	MBN_COMPRESSION_NONE int32 = 0
	MBN_COMPRESSION_ENABLE int32 = 1
)
const
  MBN_COMPRESSION_NONE = 0;
  MBN_COMPRESSION_ENABLE = 1;
// MBN_COMPRESSION
pub const MBN_COMPRESSION_NONE: i32 = 0;
pub const MBN_COMPRESSION_ENABLE: i32 = 1;
const
  MBN_COMPRESSION_NONE* = 0
  MBN_COMPRESSION_ENABLE* = 1
enum MBN_COMPRESSION : int {
    MBN_COMPRESSION_NONE = 0,
    MBN_COMPRESSION_ENABLE = 1,
}
#define global MBN_COMPRESSION_NONE   0x0
#define global MBN_COMPRESSION_ENABLE 0x1