Skip to content

Instantly share code, notes, and snippets.

Microsoft Windows [Version 10.0.19045.4046]
(c) Microsoft Corporation. All rights reserved.

F:\Developments\My Git Files\HSOpticalDeviceTools\HSOpticalDeviceTools\x64\Release>HSAudioCDRippingConsole
【光学ドライブリスト】

番号:[ドライブ文字] デバイス名
--------------------------------------------------------------------------------
   0:[J:] PIONEER  BD-RW   BDR-S12U 1.05
================================================================================
[J:] PIONEER  BD-RW   BDR-S12U 1.05
================================================================================
[ドライブの状態]
        ドライブにアクセスする準備ができています。

                [Raw Results]
                OperationCode:0x00
                DeviceIOControlResult:0x01

F:\Developments\My Git Files\HSCDDeviceConsole\HSCDDeviceConsole\x64\Release>HSCDDeviceConsole
[光学ドライブリスト]

番号:[ドライブ文字] デバイス名
--------------------------------------------------------------------------------
   0:[J:] PIONEER  BD-RW   BDR-S12U 1.05
   1:[M:] BUFFALO  Optical Drive    BFT7
   2:[N:] HL-DT-ST DVDRAM GP90NB70  1.03
@hirosof
hirosof / WinAppSingleTemplate_202402.cpp
Created February 1, 2024 16:13
[Win32API] Windowsアプリケーションのテンプレート
/*----------------------------------------------------------------------------
プログラム名:Template
バージョン:1.0.1.0
プログラム概要:
--------------------------------------------------------------------------------
*/
/*-----------------------インクルード部------------------------*/
#include <windows.h>
#include <cstdio>
/*------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace hirosof.Application.Process {
using CommandLineNamedParameterList = List<CommandLineNamedParameterItem>;
#pragma once
#include <limits>
#include <stdexcept>
template <typename T> class GeneralCounter {
private:
const bool m_is_signed_type = std::numeric_limits<T>::is_signed;
T m_start;
@hirosof
hirosof / C++のstd::bitsetを用いた各種計算・処理を手動で実装するサンプル [unsigned].md
Last active November 22, 2023 14:16
C++のstd::bitset<N>を用いた各種計算・処理を手動で実装するサンプル [unsigned]

C++のstd::bitset<N>を用いた各種計算・処理を手動で実装するサンプル [unsigned]

定義

このページ上のコードのライセンスについて

このページ上に記載されている各コードのライセンスはパブリックドメインとする

演算方向について

@hirosof
hirosof / CCommandLineParser.hpp
Last active December 31, 2021 20:23
簡易コマンドラインパーサー
#pragma once
#include <vector>
#include <string>
#include <unordered_map>
#include <sstream>
template <typename char_type> class CCommandLineParserType {
public:
using String = std::basic_string<char_type>;
#include <stdio.h>
#include <Windows.h>
#include <vector>
#pragma comment(lib,"winmm.lib")
#define LOOPS 1000000
void NormalValueTest ( void );
#include <stdio.h>
#include <Windows.h>
#include <locale.h>
#include <Shlobj.h>
#include <Shobjidl.h>
#include <KnownFolders.h>
void HSOpenFileDialog ( void );
int main ( void ) {